Commit bc936439 authored by Paul Eggert's avatar Paul Eggert
Browse files

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

parent e8ba94bf
...@@ -5376,17 +5376,13 @@ An argument specifies the modification time value to use ...@@ -5376,17 +5376,13 @@ An argument specifies the modification time value to use
static Lisp_Object static Lisp_Object
auto_save_error (Lisp_Object error_val) auto_save_error (Lisp_Object error_val)
{ {
Lisp_Object msg;
int i;
auto_save_error_occurred = 1; auto_save_error_occurred = 1;
ring_bell (XFRAME (selected_frame)); ring_bell (XFRAME (selected_frame));
AUTO_STRING (format, "Auto-saving %s: %s"); AUTO_STRING (format, "Auto-saving %s: %s");
msg = CALLN (Fformat, format, BVAR (current_buffer, name), Lisp_Object msg = CALLN (Fformat, format, BVAR (current_buffer, name),
Ferror_message_string (error_val)); Ferror_message_string (error_val));
call3 (intern ("display-warning"), call3 (intern ("display-warning"),
intern ("auto-save"), msg, intern ("error")); intern ("auto-save"), msg, intern ("error"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment