summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/gui/search-dialog.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-27 12:13:25 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-27 12:13:25 +0000
commitd461a65ed824ec63c77f4ef241065619f3e8804b (patch)
tree61eaab0c21753ae8cdb38c87c9e62dbca3930c13 /Build/source/texk/xdvik/gui/search-dialog.c
parentd97e8d7e3159ea8dc7c20459710b9cd1cb6f53ac (diff)
compiler warnings: Drop 'set but not used' variables
git-svn-id: svn://tug.org/texlive/trunk@30976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/gui/search-dialog.c')
-rw-r--r--Build/source/texk/xdvik/gui/search-dialog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/texk/xdvik/gui/search-dialog.c b/Build/source/texk/xdvik/gui/search-dialog.c
index 895db86480c..5e1a69792a0 100644
--- a/Build/source/texk/xdvik/gui/search-dialog.c
+++ b/Build/source/texk/xdvik/gui/search-dialog.c
@@ -659,7 +659,6 @@ xaw_search_go(Widget w, XEvent *event, String *params, Cardinal *num_params)
void *ptr;
char *searchterm = NULL;
Widget button, input;
- XtIntervalId timeout;
UNUSED(w);
@@ -696,7 +695,7 @@ xaw_search_go(Widget w, XEvent *event, String *params, Cardinal *num_params)
XtCallActionProc(button, "set", event, NULL, 0);
XtCallActionProc(button, "notify", event, NULL, 0);
XSync(DISP, False);
- timeout = XtAppAddTimeOut(globals.app, 150, xaw_unset_button, (XtPointer)button);
+ XtAppAddTimeOut(globals.app, 150, xaw_unset_button, (XtPointer)button);
}