diff options
Diffstat (limited to 'etc/bench.pl.in')
-rwxr-xr-x | etc/bench.pl.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/bench.pl.in b/etc/bench.pl.in index b7d44f41..036bf52e 100755 --- a/etc/bench.pl.in +++ b/etc/bench.pl.in @@ -498,7 +498,8 @@ yylex (void) case '5': case '6': case '7': case '8': case '9': { int nchars = 0; - sscanf (input - 1, "%d%n", &yylval.NUM, &nchars); + int n = sscanf (input - 1, "%d%n", &yylval.NUM, &nchars); + assert (n == 1); input += nchars - 1; return NUM; } |