]> gcc.gnu.org Git - gcc.git/commitdiff
Add comment to fix -Wfallthrough warning
authorJonathan Wakely <jwakely@redhat.com>
Fri, 1 Dec 2017 15:10:23 +0000 (15:10 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 1 Dec 2017 15:10:23 +0000 (15:10 +0000)
* include/bits/locale_facets_nonio.tcc (money_get::_M_extract): Add
fallthrough comment.

From-SVN: r255318

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets_nonio.tcc

index 8501a66fffa8f53556919650cb3255a1848e1a76..d8308c3f6f44c46017561fd74a51a2aa49541762 100644 (file)
@@ -1,5 +1,8 @@
 2017-12-01  Jonathan Wakely  <jwakely@redhat.com>
 
+       * include/bits/locale_facets_nonio.tcc (money_get::_M_extract): Add
+       fallthrough comment.
+
        * include/bits/node_handle.h (_Node_handle_common::operator=)
        (_Node_handle_common::_M_swap): Add braces around debug assertions.
 
index a449c41e6b8de6ac5e3bbaa44aa5ffb7797d9066..135dd0b9d8fcb3a913828d31276d670524600a57 100644 (file)
@@ -282,6 +282,7 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL_OR_CXX11
                  ++__beg;
                else
                  __testvalid = false;
+               // fallthrough
              case money_base::none:
                // Only if not at the end of the pattern.
                if (__i != 3)
This page took 0.075822 seconds and 5 git commands to generate.