[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r113433: Fix minor problems found by --enable-gcc-wa
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] trunk r113433: Fix minor problems found by --enable-gcc-warnings. |
Date: |
Tue, 16 Jul 2013 14:52:26 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 113433
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2013-07-16 07:52:22 -0700
message:
Fix minor problems found by --enable-gcc-warnings.
* frame.c (Fhandle_focus_in, Fhandle_focus_out): Return a value.
* keyboard.c (kbd_buffer_get_event): Remove unused local.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/frame.c frame.c-20091113204419-o5vbwnq5f7feedwu-243
src/keyboard.c keyboard.c-20091113204419-o5vbwnq5f7feedwu-449
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-07-16 11:41:06 +0000
+++ b/src/ChangeLog 2013-07-16 14:52:22 +0000
@@ -1,3 +1,9 @@
+2013-07-16 Paul Eggert <address@hidden>
+
+ Fix minor problems found by --enable-gcc-warnings.
+ * frame.c (Fhandle_focus_in, Fhandle_focus_out): Return a value.
+ * keyboard.c (kbd_buffer_get_event): Remove unused local.
+
2013-07-16 Jan Djärv <address@hidden>
* xterm.c (x_focus_changed): Always generate FOCUS_IN_EVENT.
=== modified file 'src/frame.c'
--- a/src/frame.c 2013-07-16 11:41:06 +0000
+++ b/src/frame.c 2013-07-16 14:52:22 +0000
@@ -895,7 +895,7 @@
This function checks if blink-cursor timers should be turned on again. */)
(Lisp_Object event)
{
- call0 (intern ("blink-cursor-check"));
+ return call0 (intern ("blink-cursor-check"));
}
DEFUN ("handle-focus-out", Fhandle_focus_out, Shandle_focus_out, 1, 1, "e",
@@ -905,7 +905,7 @@
This function checks if blink-cursor timers should be turned off. */)
(Lisp_Object event)
{
- call0 (intern ("blink-cursor-suspend"));
+ return call0 (intern ("blink-cursor-suspend"));
}
DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1,
1, "e",
=== modified file 'src/keyboard.c'
--- a/src/keyboard.c 2013-07-16 11:41:06 +0000
+++ b/src/keyboard.c 2013-07-16 14:52:22 +0000
@@ -4092,7 +4092,7 @@
#else
struct x_display_info *di;
#endif
- Lisp_Object rest, frame = event->frame_or_window;
+ Lisp_Object frame = event->frame_or_window;
bool focused = false;
for (di = x_display_list; di && ! focused; di = di->next)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r113433: Fix minor problems found by --enable-gcc-warnings.,
Paul Eggert <=