From: Paul Eggert Date: Wed, 8 Jun 2016 07:35:51 +0000 (-0700) Subject: * src/fileio.c (auto_save_error): Omit unused local. X-Git-Tag: emacs-26.0.90~1840^2~258 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc93643957a83262dd9cc7c4256f356d5f7b66f4;p=emacs.git * src/fileio.c (auto_save_error): Omit unused local. --- diff --git a/src/fileio.c b/src/fileio.c index 5615639a5e1..9e3e54df969 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -5376,17 +5376,13 @@ An argument specifies the modification time value to use static Lisp_Object auto_save_error (Lisp_Object error_val) { - Lisp_Object msg; - int i; - auto_save_error_occurred = 1; ring_bell (XFRAME (selected_frame)); AUTO_STRING (format, "Auto-saving %s: %s"); - msg = CALLN (Fformat, format, BVAR (current_buffer, name), - Ferror_message_string (error_val)); - + Lisp_Object msg = CALLN (Fformat, format, BVAR (current_buffer, name), + Ferror_message_string (error_val)); call3 (intern ("display-warning"), intern ("auto-save"), msg, intern ("error"));