From 86a44e25ced666e29ed35356c48608e45def90bc Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 4 Apr 2000 21:23:10 +0000 Subject: dbxout.c (CONTIN): If it doesn't have to do anything... * 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. From-SVN: r32913 --- gcc/ChangeLog | 4 ++++ gcc/dbxout.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 44c6387..1098dab 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 5926442..7af36a1 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) -- cgit v1.1