summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/gas/read.h
diff options
context:
space:
mode:
authorbenl <benl@FreeBSD.org>2011-05-22 22:15:42 +0000
committerbenl <benl@FreeBSD.org>2011-05-22 22:15:42 +0000
commit3bcf41780896421127b6d148e6a078845f50a54f (patch)
tree243980f17138112e5f9c40b25303f04dd14998c5 /contrib/binutils/gas/read.h
parentfe2c179872e1fb01cb7a4b37a2d1835e569b2156 (diff)
downloadFreeBSD-src-3bcf41780896421127b6d148e6a078845f50a54f.zip
FreeBSD-src-3bcf41780896421127b6d148e6a078845f50a54f.tar.gz
Fix clang warnings.
Approved by: philip (mentor)
Diffstat (limited to 'contrib/binutils/gas/read.h')
-rw-r--r--contrib/binutils/gas/read.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/binutils/gas/read.h b/contrib/binutils/gas/read.h
index 6ac153b..342a7e4 100644
--- a/contrib/binutils/gas/read.h
+++ b/contrib/binutils/gas/read.h
@@ -30,7 +30,7 @@ extern char *input_line_pointer; /* -> char we are parsing now. */
#ifdef PERMIT_WHITESPACE
#define SKIP_WHITESPACE() \
- ((*input_line_pointer == ' ') ? ++input_line_pointer : 0)
+ do { if (*input_line_pointer == ' ') ++input_line_pointer; } while (0)
#else
#define SKIP_WHITESPACE() know(*input_line_pointer != ' ' )
#endif
OpenPOWER on IntegriCloud