]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/date_time/test/local_time/testtz_database.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / date_time / test / local_time / testtz_database.cpp
index c8b8ec363e5fb0cbe7f7748905c362c43848aa54..81cd17964621786ce211131280143dca8a36f86e 100644 (file)
@@ -32,7 +32,7 @@ int main(){
   try{
     tz_database tz_db;
     tz_db.load_from_file("missing_file.csv"); // file does not exist
-  }catch(data_not_accessible& e){
+  }catch(data_not_accessible&){
     check("Caught Missing data file exception", true);
   }catch(...){
     check("Caught first unexpected exception", false);
@@ -52,7 +52,7 @@ int main(){
   try {
     // first try to find the data file from the test dir
     tz_db.load_from_file("../data/date_time_zonespec.csv");
-  }catch(data_not_accessible& e) {
+  }catch(data_not_accessible&) {
     // couldn't find the data file so assume we are being run from 
     // boost_root/status and try again
     tz_db.load_from_file("../libs/date_time/data/date_time_zonespec.csv");
@@ -121,14 +121,14 @@ bool run_bad_field_count_test()
   tz_database other_db;
   try{
     other_db.load_from_file("local_time/poorly_formed_zonespec.csv");
-  }catch(bad_field_count& be){
+  }catch(bad_field_count&){
     caught_bfc = true;
   }catch(...) {
     // do nothing (file not found)
   }
   try{
     other_db.load_from_file("../libs/date_time/test/local_time/poorly_formed_zonespec.csv");
-  }catch(bad_field_count& be){
+  }catch(bad_field_count&){
     caught_bfc = true;
   }catch(...) {
     // do nothing (file not found)