Commit ccd9a1e0 by Jonathan Wakely Committed by Jonathan Wakely

Add comment to fix -Wfallthrough warning

	* include/bits/locale_facets_nonio.tcc (money_get::_M_extract): Add
	fallthrough comment.

From-SVN: r255318
parent b7b61489
2017-12-01 Jonathan Wakely <jwakely@redhat.com> 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=) * include/bits/node_handle.h (_Node_handle_common::operator=)
(_Node_handle_common::_M_swap): Add braces around debug assertions. (_Node_handle_common::_M_swap): Add braces around debug assertions.
......
...@@ -282,6 +282,7 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL_OR_CXX11 ...@@ -282,6 +282,7 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL_OR_CXX11
++__beg; ++__beg;
else else
__testvalid = false; __testvalid = false;
// fallthrough
case money_base::none: case money_base::none:
// Only if not at the end of the pattern. // Only if not at the end of the pattern.
if (__i != 3) if (__i != 3)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment