summaryrefslogtreecommitdiff
path: root/lwlib/lwlib.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-15 18:42:03 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-15 18:42:03 -0700
commit9ac71959cbb35dd0e24001ea11e2d89db08f099c (patch)
treeadbe9e9b63eab28857cac1b26a18fbe93452fb6a /lwlib/lwlib.c
parent4d511c40f437adec6b8a635fe717605c1354f49c (diff)
downloademacs-9ac71959cbb35dd0e24001ea11e2d89db08f099c.tar.gz
* lwlib.c (EXPLAIN, destroy_one_instance): Avoid "else;".
Diffstat (limited to 'lwlib/lwlib.c')
-rw-r--r--lwlib/lwlib.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c
index 290ce091301..90461c0ba51 100644
--- a/lwlib/lwlib.c
+++ b/lwlib/lwlib.c
@@ -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);