From bc93643957a83262dd9cc7c4256f356d5f7b66f4 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 8 Jun 2016 00:35:51 -0700 Subject: [PATCH] * src/fileio.c (auto_save_error): Omit unused local. --- src/fileio.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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")); -- 2.39.2