mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 22:03:57 +08:00
locale_facets.tcc (num_get<>::do_get): Avoid warning about ambiguous else.
2007-02-13 Dirk Mueller <dmueller@suse.de> * include/bits/locale_facets.tcc (num_get<>::do_get): Avoid warning about ambiguous else. From-SVN: r121881
This commit is contained in:
parent
7a23933bdd
commit
9e0b7527be
@ -1,3 +1,8 @@
|
||||
2007-02-13 Dirk Mueller <dmueller@suse.de>
|
||||
|
||||
* include/bits/locale_facets.tcc (num_get<>::do_get): Avoid
|
||||
warning about ambiguous else.
|
||||
|
||||
2007-02-12 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/21172
|
||||
|
@ -746,16 +746,20 @@ _GLIBCXX_BEGIN_LDBL_NAMESPACE
|
||||
const char_type __c = *__beg;
|
||||
|
||||
if (__testf)
|
||||
if (__n < __lc->_M_falsename_size)
|
||||
__testf = __c == __lc->_M_falsename[__n];
|
||||
else
|
||||
break;
|
||||
{
|
||||
if (__n < __lc->_M_falsename_size)
|
||||
__testf = __c == __lc->_M_falsename[__n];
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if (__testt)
|
||||
if (__n < __lc->_M_truename_size)
|
||||
__testt = __c == __lc->_M_truename[__n];
|
||||
else
|
||||
break;
|
||||
{
|
||||
if (__n < __lc->_M_truename_size)
|
||||
__testt = __c == __lc->_M_truename[__n];
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
if (!__testf && !__testt)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user