* src/fileio.c (auto_save_error): Omit unused local.

This commit is contained in:
Paul Eggert 2016-06-08 00:35:51 -07:00
parent e8ba94bf83
commit bc93643957

View file

@ -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"));