diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 44c63873b7d..1098dab86ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * builtins.c (expand_builtin_strlen): Force the source to diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 59264424694..7af36a1b441 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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)