summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/events.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/events.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/events.c')
-rw-r--r--Build/source/texk/xdvik/events.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Build/source/texk/xdvik/events.c b/Build/source/texk/xdvik/events.c
index db582cd9a6c..4a78194f6c2 100644
--- a/Build/source/texk/xdvik/events.c
+++ b/Build/source/texk/xdvik/events.c
@@ -2563,8 +2563,7 @@ void
Act_shrink_to_dpi(Widget w, XEvent *event,
String *params, Cardinal *num_params)
{
- int arg, arg_bak;
- Boolean clear_statusline = False;
+ int arg;
UNUSED(w);
UNUSED(event);
@@ -2573,10 +2572,6 @@ Act_shrink_to_dpi(Widget w, XEvent *event,
if (!get_int_arg(params, num_params, &arg))
arg = 0;
- else
- clear_statusline = True;
-
- arg_bak = arg;
if (arg > 0)
arg = (double)resource.pixels_per_inch / arg + 0.5;