summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-06-30 09:14:22 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-06-30 09:14:22 -0700
commit1d71c1d9dea59dde3b7a868f427226fb61132dfb (patch)
tree8c9d61979eee210dd406ccd757221c05421703ee /src
parent16b6e7f29bca991ca4620e476f3d5ca2d1a09014 (diff)
downloademacs-1d71c1d9dea59dde3b7a868f427226fb61132dfb.tar.gz
Fix minor problems found by static checking.
* lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu): * lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance): * lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]: Now const. * src/widget.c (resize_cb): Remove unused local.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/widget.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9be83ac83d2..3aaa7b778e4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
2013-06-30 Paul Eggert <eggert@cs.ucla.edu>
+ * widget.c (resize_cb): Remove unused local.
+
Do not use GTK 3 if it exists but cannot be compiled.
* xmenu.c (x_menu_wait_for_event) [!USE_GTK]:
* xterm.c (x_error_handler) [!USE_GTK]:
diff --git a/src/widget.c b/src/widget.c
index 28e9fc29a91..e2c8e9fa23f 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -656,7 +656,6 @@ resize_cb (Widget widget,
XEvent* event,
Boolean* continue_to_dispatch)
{
- EmacsFrame ew = (EmacsFrame) widget;
EmacsFrameResize (widget);
}