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
This commit is contained in:
Zack Weinberg 2000-04-04 21:23:10 +00:00 committed by Zack Weinberg
parent 2a87fbe84e
commit 86a44e25ce
2 changed files with 5 additions and 1 deletions

View 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

View 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)