From: Paul Eggert Date: Wed, 6 Apr 2011 22:27:58 +0000 (-0700) Subject: * term.c (maybe_fatal): Mark its 3rd arg as a printf format, too. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~356^2~28 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=266c95470005fc0fdb22b984de4bb8ec73aec727;p=emacs.git * term.c (maybe_fatal): Mark its 3rd arg as a printf format, too. --- diff --git a/src/ChangeLog b/src/ChangeLog index 69ab6d0ef3a..8c92869db1f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-06 Paul Eggert + * term.c (maybe_fatal): Mark its 3rd arg as a printf format, too. + * xdisp.c, lisp.h (message_nolog): Remove; unused. 2011-04-06 Eli Zaretskii diff --git a/src/term.c b/src/term.c index 39c9592e28f..d4e5faf01c8 100644 --- a/src/term.c +++ b/src/term.c @@ -86,7 +86,7 @@ static void dissociate_if_controlling_tty (int fd); static void delete_tty (struct terminal *); static void maybe_fatal (int must_succeed, struct terminal *terminal, const char *str1, const char *str2, ...) - NO_RETURN ATTRIBUTE_FORMAT_PRINTF (4, 5); + NO_RETURN ATTRIBUTE_FORMAT_PRINTF (3, 5) ATTRIBUTE_FORMAT_PRINTF (4, 5); static void vfatal (const char *str, va_list ap) NO_RETURN ATTRIBUTE_FORMAT_PRINTF (1, 0);