From: Paul Eggert Date: Tue, 5 Apr 2011 20:01:08 +0000 (-0700) Subject: * eval.c (Fsignal): Remove excess argument to 'fatal'. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~394^2~11 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=583f48b90b03bcca4f561f1075aa674a04a7aa08;p=emacs.git * eval.c (Fsignal): Remove excess argument to 'fatal'. --- 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.