diff options
Diffstat (limited to 'Build/source/texk/xdvik')
-rw-r--r-- | Build/source/texk/xdvik/events.c | 2 | ||||
-rw-r--r-- | Build/source/texk/xdvik/util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/xdvik/events.c b/Build/source/texk/xdvik/events.c index 77776de5699..1a5024953cd 100644 --- a/Build/source/texk/xdvik/events.c +++ b/Build/source/texk/xdvik/events.c @@ -2362,9 +2362,9 @@ Act_mouse_modes(Widget w, XEvent *event, my_action = compile_action(params[mode_idx]); for (i = 0, ap = my_action; ap; ap = ap->next, i++) { + String args[1]; TRACE_EVENTS((stderr, "Action %d for mode %d: '%s', %d args |%s| maps to proc |%p|", i, mode_idx, ap->command, ap->num_params, ap->param, ap->proc)); - String args[1]; args[0] = ap->param; /* now call the action proc directly */ diff --git a/Build/source/texk/xdvik/util.c b/Build/source/texk/xdvik/util.c index eb891cc76f6..adf6c3cd839 100644 --- a/Build/source/texk/xdvik/util.c +++ b/Build/source/texk/xdvik/util.c @@ -150,11 +150,11 @@ xdvi_assert(const char *version, const char *fmt, ...) { if (!(condition)) { + va_list argp; fprintf(stderr, "\n************************************************************\n" "XDvi %s: Failed assertion:\n%s:%d: ", version, filename, lineno); - va_list argp; va_start(argp, fmt); (void)vfprintf(stderr, fmt, argp); va_end(argp); |