From: Paul Eggert Date: Mon, 14 May 2012 15:22:29 +0000 (-0700) Subject: * keyboard.c (kbd_buffer_get_event) [!HAVE_DBUS]: Omit unused local. X-Git-Tag: emacs-24.2.90~471^2~88 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=078c97cbfff4348646b4158fb9a160d88150daa9;p=emacs.git * keyboard.c (kbd_buffer_get_event) [!HAVE_DBUS]: Omit unused local. --- diff --git a/src/ChangeLog b/src/ChangeLog index 33e5e27dc39..0f4f0fcc08e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2012-05-14 Paul Eggert + * keyboard.c (kbd_buffer_get_event) [!HAVE_DBUS]: Omit unused local. + * unexaix.c: Port to more-recent AIX compilers. (report_error, report_error_1, make_hdr, copy_sym) (mark_x, adjust_lnnoptrs, unrelocate_symbols): diff --git a/src/keyboard.c b/src/keyboard.c index 289dc300835..56858acd6aa 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3786,7 +3786,6 @@ kbd_buffer_get_event (KBOARD **kbp, int *used_mouse_menu, struct timeval *end_time) { - register int c; Lisp_Object obj; #ifdef subprocesses @@ -3809,7 +3808,7 @@ kbd_buffer_get_event (KBOARD **kbp, detaching from the terminal. */ || (IS_DAEMON && daemon_pipe[1] >= 0)) { - c = getchar (); + int c = getchar (); XSETINT (obj, c); *kbp = current_kboard; return obj;