another obvious warning fix
Zack Weinberg
zack@wolery.cumb.org
Tue Apr 4 14:22:00 GMT 2000
CONTIN is used as the sole clause of an if statement, so it needs a dummy
definition that doesn't trigger the "empty body" warning.
Applied.
zw
* dbxout.c (CONTIN): If it doesn't have to do anything, give it a
definition that doesn't provoke the "empty body in an
if-statement" warning.
===================================================================
Index: dbxout.c
--- dbxout.c 2000/03/25 18:34:01 1.54
+++ dbxout.c 2000/04/04 21:22:31
@@ -307,7 +307,7 @@ static int current_sym_nchars;
#define CONTIN \
do {if (current_sym_nchars > DBX_CONTIN_LENGTH) dbxout_continue ();} while (0)
#else
-#define CONTIN
+#define CONTIN do { } while (0)
#endif
#if defined(ASM_OUTPUT_SECTION_NAME)
More information about the Gcc-patches
mailing list