]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/date_time/test/gregorian/testparse_date.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / date_time / test / gregorian / testparse_date.cpp
index 3612280a2c755f3df36814958c138978dc0d880e..d9df98925cd0d013252a415dea348b960e7768f3 100644 (file)
@@ -89,7 +89,7 @@ main()
         check("Expected exception not thrown: from ISO string (bad_day_of_month)", false);
         std::cout << date_from_iso_string(s) << std::endl;
       }
-      catch(bad_day_of_month& e) {
+      catch(bad_day_of_month&) {
         check("Caught expected exception: bad_day_of_month ", true);
       }
       catch(...) {
@@ -345,6 +345,7 @@ main()
     std::string ud(""); //empty string error sf bug# 1155556
     date d1(from_simple_string(ud));
     check("empty string",  false); //should never reach this piont
+    (void)d1;
   }
   catch(std::exception& e) {
     check(std::string("empty string parse (exception expected): ") + e.what(),  true);