summaryrefslogtreecommitdiffstats
path: root/src/lib/util/csv_file.cc
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2015-05-12 20:18:25 +0200
committerFrancis Dupont <fdupont@isc.org>2015-05-12 20:18:25 +0200
commit2cd955a8440d3c26b92dca40ff62282c69153296 (patch)
tree75242a301c7a18e3a86169573d2096a1d8dafc35 /src/lib/util/csv_file.cc
parent[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea (diff)
downloadkea-2cd955a8440d3c26b92dca40ff62282c69153296.tar.xz
kea-2cd955a8440d3c26b92dca40ff62282c69153296.zip
[3839] unused exception handler variable aka #3839
Diffstat (limited to 'src/lib/util/csv_file.cc')
-rw-r--r--src/lib/util/csv_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/csv_file.cc b/src/lib/util/csv_file.cc
index 4f03f48d8a..b65d375374 100644
--- a/src/lib/util/csv_file.cc
+++ b/src/lib/util/csv_file.cc
@@ -195,7 +195,7 @@ CSVFile::size() const {
fs.seekg(0, std::ifstream::end);
pos = fs.tellg();
fs.close();
- } catch (const std::exception& ex) {
+ } catch (const std::exception&) {
return (0);
}
return (pos);
@@ -321,7 +321,7 @@ CSVFile::open(const bool seek_to_end) {
fs_->clear();
}
- } catch (const std::exception& ex) {
+ } catch (const std::exception&) {
close();
throw;
}