Commit 86a44e25 by Zack Weinberg Committed by Zack Weinberg

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
parent 2a87fbe8
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
(_cpp_read_and_prescan): Change to use unified table. Use (_cpp_read_and_prescan): Change to use unified table. Use
is_hspace to test for whitespace. 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> 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
* builtins.c (expand_builtin_strlen): Force the source to * builtins.c (expand_builtin_strlen): Force the source to
......
...@@ -307,7 +307,7 @@ static int current_sym_nchars; ...@@ -307,7 +307,7 @@ static int current_sym_nchars;
#define CONTIN \ #define CONTIN \
do {if (current_sym_nchars > DBX_CONTIN_LENGTH) dbxout_continue ();} while (0) do {if (current_sym_nchars > DBX_CONTIN_LENGTH) dbxout_continue ();} while (0)
#else #else
#define CONTIN #define CONTIN do { } while (0)
#endif #endif
#if defined(ASM_OUTPUT_SECTION_NAME) #if defined(ASM_OUTPUT_SECTION_NAME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment