mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 22:02:08 +02:00
Fix gcc warnings.
[SVN r50377]
This commit is contained in:
@ -111,9 +111,10 @@ void basic_regex_parser<charT, traits>::parse(const charT* p1, const charT* p2,
|
|||||||
// empty strings are errors:
|
// empty strings are errors:
|
||||||
if((p1 == p2) &&
|
if((p1 == p2) &&
|
||||||
(
|
(
|
||||||
(l_flags & regbase::main_option_type) != regbase::perl_syntax_group)
|
((l_flags & regbase::main_option_type) != regbase::perl_syntax_group)
|
||||||
|| (l_flags & regbase::no_empty_expressions)
|
|| (l_flags & regbase::no_empty_expressions)
|
||||||
)
|
)
|
||||||
|
)
|
||||||
{
|
{
|
||||||
fail(regex_constants::error_empty, 0);
|
fail(regex_constants::error_empty, 0);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user