mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
* lwlib.c (EXPLAIN, destroy_one_instance): Avoid "else;".
This commit is contained in:
parent
4d511c40f4
commit
9ac71959cb
@ -1,5 +1,7 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user