]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/date_time/test/posix_time/testtime.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / date_time / test / posix_time / testtime.cpp
index c14dceddc090c64aa375565aaef1e55168965b16..02b18a31cd1a67cf341df11dc515838e6019003f 100644 (file)
@@ -309,7 +309,7 @@ main()
     check("Exception not thrown (special_value to_tm)", false);
     //following code does nothing useful but stops compiler from complaining about unused pt_tm
     std::cout << pt_tm.tm_sec << std::endl;
-  }catch(std::out_of_range& e){
+  }catch(std::out_of_range&){
     check("Caught expected exception (special_value to_tm)", true);
   }catch(...){
     check("Caught un-expected exception (special_value to_tm)", false);
@@ -323,7 +323,7 @@ main()
     check("Exception not thrown (special_value to_tm)", false);
     //following code does nothing useful but stops compiler from complaining about unused pt_tm
     std::cout << pt_tm.tm_sec << std::endl;
-  }catch(std::out_of_range& e){
+  }catch(std::out_of_range&){
     check("Caught expected exception (special_value to_tm)", true);
   }catch(...){
     check("Caught un-expected exception (special_value to_tm)", false);