From 583f48b90b03bcca4f561f1075aa674a04a7aa08 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 5 Apr 2011 13:01:08 -0700 Subject: [PATCH] * eval.c (Fsignal): Remove excess argument to 'fatal'. --- src/ChangeLog | 2 ++ src/eval.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index c7d14843bcd..45eee781589 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,8 @@ Fix more problems found by GCC 4.6.0's static checks. + * eval.c (Fsignal): Remove excess argument to 'fatal'. + * coding.c (EMIT_ONE_BYTE, EMIT_TWO_BYTES): Use unsigned, not int. This avoids several warnings with gcc -Wstrict-overflow. (DECODE_COMPOSITION_RULE): If the rule is invalid, goto invalid_code diff --git a/src/eval.c b/src/eval.c index d1a63a76767..93da7799bec 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1757,7 +1757,7 @@ See also the function `condition-case'. */) data = Fcons (error_symbol, data); string = Ferror_message_string (data); - fatal ("%s", SDATA (string), 0); + fatal ("%s", SDATA (string)); } /* Internal version of Fsignal that never returns. -- 2.39.2