mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* data/glr.c (yyresolveValue): Add default case to pacify
gcc -Wswitch-default. Problem reported by twlevo@xs4all.nl.
This commit is contained in:
@@ -1674,6 +1674,11 @@ yyresolveValue (yySemanticOption* yyoptionList, yyGLRStack* yystack,
|
||||
yybest = yyp;
|
||||
yymerge = yyfalse;
|
||||
break;
|
||||
default:
|
||||
/* This cannot happen so it is not worth a YYASSERT (false),
|
||||
but some compilers complain if the default case is
|
||||
omitted. */
|
||||
break;
|
||||
}
|
||||
yypp = &yyp->yynext;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user