Add comment to fix -Wfallthrough warning
* include/bits/locale_facets_nonio.tcc (money_get::_M_extract): Add fallthrough comment. From-SVN: r255318
This commit is contained in:
parent
b7b61489b7
commit
ccd9a1e0ef
2 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue