Commit 9ac71959 authored by Paul Eggert's avatar Paul Eggert

* lwlib.c (EXPLAIN, destroy_one_instance): Avoid "else;".

parent 4d511c40
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
* lwlib.c (EXPLAIN, destroy_one_instance): Avoid "else;".
* lwlib-utils.h, lwlib-utils.c (XtSafelyDestroyWidget): Remove; unused.
* xlwmenu.c (XlwMenuSetValues): Rename/ move locals to avoid shadowing.
......
......@@ -422,7 +422,7 @@ safe_strcmp (const char *s1, const char *s2)
(nc == STRUCTURAL_CHANGE ? "structural" : "???")))), \
nc, desc, a1, a2)
#else
# define EXPLAIN(name, oc, nc, desc, a1, a2)
# define EXPLAIN(name, oc, nc, desc, a1, a2) ((void) 0)
#endif
......@@ -912,8 +912,9 @@ destroy_one_instance (widget_instance *instance)
xaw_destroy_instance (instance);
else
#endif
/* do not remove the empty statement */
;
{
/* Empty compound statement to terminate if-then-else chain. */
}
}
free_widget_instance (instance);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment