$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r80708 - trunk/boost/date_time
From: marshall_at_[hidden]
Date: 2012-09-26 12:22:05
Author: marshall
Date: 2012-09-26 12:22:04 EDT (Wed, 26 Sep 2012)
New Revision: 80708
URL: http://svn.boost.org/trac/boost/changeset/80708
Log:
Added default case labels to silence bogus warnings; Refs #7112; Refs #7113
Text files modified: 
   trunk/boost/date_time/date_parsing.hpp |     2 ++                                      
   trunk/boost/date_time/time_parsing.hpp |     2 ++                                      
   2 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/date_time/date_parsing.hpp
==============================================================================
--- trunk/boost/date_time/date_parsing.hpp	(original)
+++ trunk/boost/date_time/date_parsing.hpp	2012-09-26 12:22:04 EDT (Wed, 26 Sep 2012)
@@ -148,6 +148,7 @@
             day = boost::lexical_cast<unsigned short>(*beg);
             break;
           }
+          default: break;
         } //switch
       }
       return date_type(year, month, day);
@@ -180,6 +181,7 @@
         case 0: y = i; break;
         case 1: m = i; break;
         case 2: d = i; break;
+        default:       break;
         }
         pos++;
       }
Modified: trunk/boost/date_time/time_parsing.hpp
==============================================================================
--- trunk/boost/date_time/time_parsing.hpp	(original)
+++ trunk/boost/date_time/time_parsing.hpp	2012-09-26 12:22:04 EDT (Wed, 26 Sep 2012)
@@ -116,6 +116,7 @@
         
         break;
       }
+      default: break;
       }//switch
       pos++;
     }
@@ -281,6 +282,7 @@
             
             break;
           }
+          default: break;
       };
       pos++;
     }