OSDN Git Service

* dbxout.c (CONTIN): If it doesn't have to do anything, give it a
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Apr 2000 21:23:10 +0000 (21:23 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Apr 2000 21:23:10 +0000 (21:23 +0000)
definition that doesn't provoke the "empty body in an
if-statement" warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32913 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dbxout.c

index 44c6387..1098dab 100644 (file)
@@ -6,6 +6,10 @@
        (_cpp_read_and_prescan): Change to use unified table.  Use
        is_hspace to test for whitespace.
 
+       * 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.
+
 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
 
        * builtins.c (expand_builtin_strlen): Force the source to
index 5926442..7af36a1 100644 (file)
@@ -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)