mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 06:43:03 +00:00
* src/output.c (pack_vector): Use assert, not berror.
* src/main.c (berror): Remove, unused.
This commit is contained in:
@@ -103,9 +103,6 @@
|
||||
#include "reader.h"
|
||||
#include "conflicts.h"
|
||||
|
||||
extern void berror PARAMS((const char *));
|
||||
|
||||
|
||||
|
||||
static int nvectors;
|
||||
static int nentries;
|
||||
@@ -980,8 +977,8 @@ pack_vector (int vector)
|
||||
}
|
||||
}
|
||||
|
||||
berror ("pack_vector");
|
||||
return 0; /* JF keep lint happy */
|
||||
assert (!"pack_vector");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user