Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9ac71959
Commit
9ac71959
authored
Apr 15, 2011
by
Paul Eggert
Browse files
* lwlib.c (EXPLAIN, destroy_one_instance): Avoid "else;".
parent
4d511c40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
lwlib/ChangeLog
lwlib/ChangeLog
+2
-0
lwlib/lwlib.c
lwlib/lwlib.c
+4
-3
No files found.
lwlib/ChangeLog
View file @
9ac71959
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.
...
...
lwlib/lwlib.c
View file @
9ac71959
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment