diff options
author | sbruno <sbruno@FreeBSD.org> | 2013-10-29 20:35:28 +0000 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2013-10-29 20:35:28 +0000 |
commit | 171a28589f283ee395ace86b4873725d2c261371 (patch) | |
tree | a3ef82215542a4758edfe313dd16f40268d2aee3 /contrib/binutils | |
parent | 7ea2e8fcfad6c7667e895da1308bcc77beeb0c03 (diff) | |
download | FreeBSD-src-171a28589f283ee395ace86b4873725d2c261371.zip FreeBSD-src-171a28589f283ee395ace86b4873725d2c261371.tar.gz |
Queisce warning about empty bodies in these loops by bumping the ;; to the
next line.
Diffstat (limited to 'contrib/binutils')
-rw-r--r-- | contrib/binutils/gas/config/atof-ieee.c | 3 | ||||
-rw-r--r-- | contrib/binutils/gas/symbols.c | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/contrib/binutils/gas/config/atof-ieee.c b/contrib/binutils/gas/config/atof-ieee.c index bf842e1..8044161 100644 --- a/contrib/binutils/gas/config/atof-ieee.c +++ b/contrib/binutils/gas/config/atof-ieee.c @@ -420,7 +420,8 @@ gen_to_words (LITTLENUM_TYPE *words, int precision, long exponent_bits) - generic_floating_point_number.low); /* Seek (and forget) 1st significant bit. */ - for (exponent_skippage = 0; !next_bits (1); ++exponent_skippage);; + for (exponent_skippage = 0; !next_bits (1); ++exponent_skippage) + ;; exponent_1 = (generic_floating_point_number.exponent + generic_floating_point_number.leader + 1 diff --git a/contrib/binutils/gas/symbols.c b/contrib/binutils/gas/symbols.c index 816395f..acfd349 100644 --- a/contrib/binutils/gas/symbols.c +++ b/contrib/binutils/gas/symbols.c @@ -1666,7 +1666,8 @@ dollar_label_name (register long n, /* we just saw "n$:" : n a number. */ *q = i % 10 + '0'; i /= 10; } - while ((*p++ = *--q) != '\0');; + while ((*p++ = *--q) != '\0') + ;; /* The label, as a '\0' ended string, starts at symbol_name_build. */ return symbol_name_build; @@ -1837,7 +1838,8 @@ fb_label_name (long n, /* We just saw "n:", "nf" or "nb" : n a number. */ *q = i % 10 + '0'; i /= 10; } - while ((*p++ = *--q) != '\0');; + while ((*p++ = *--q) != '\0') + ;; /* The label, as a '\0' ended string, starts at symbol_name_build. */ return (symbol_name_build); |