mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(dc_parse_stream): Don't try to dereference NULL
if there's an error is in our built-in list.
This commit is contained in:
1 parent
421265ba29
commit
69272c2e85
1 file changed
+2
-1
+2
-1
@@ -366,7 +366,8 @@ dc_parse_stream (FILE *fp, const char *filename)
|
||||
if (unrecognized && (state == ST_TERMSURE || state == ST_TERMYES))
|
||||
{
|
||||
error (0, 0, _("%s:%lu: unrecognized keyword `%s'"),
|
||||
filename, (long unsigned) line_number, keywd);
|
||||
(filename ? filename : _("<internal>")),
|
||||
(long unsigned) line_number, keywd);
|
||||
err = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user