This commit is contained in:
limitedAtonement 2018-03-10 16:45:55 +00:00 committed by GitHub
commit 6f60fae281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10267,9 +10267,9 @@ PUGI__NS_BEGIN
if (_rettype == xpath_type_boolean)
return _data.variable->get_boolean();
__attribute__ ((fallthrough));
}
// fallthrough
default:
{
switch (_rettype)
@ -10402,9 +10402,9 @@ PUGI__NS_BEGIN
if (_rettype == xpath_type_number)
return _data.variable->get_number();
__attribute__ ((fallthrough));
}
// fallthrough
default:
{
switch (_rettype)
@ -10683,12 +10683,11 @@ PUGI__NS_BEGIN
case ast_variable:
{
assert(_rettype == _data.variable->type());
if (_rettype == xpath_type_string)
return xpath_string::from_const(_data.variable->get_string());
__attribute__ ((fallthrough));
}
// fallthrough
default:
{
switch (_rettype)
@ -10835,9 +10834,9 @@ PUGI__NS_BEGIN
return ns;
}
__attribute__ ((fallthrough));
}
// fallthrough
default:
assert(false && "Wrong expression for return type node set"); // unreachable
return xpath_node_set_raw();