summaryrefslogtreecommitdiffstats
path: root/contrib/binutils
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2013-10-29 20:35:28 +0000
committersbruno <sbruno@FreeBSD.org>2013-10-29 20:35:28 +0000
commit171a28589f283ee395ace86b4873725d2c261371 (patch)
treea3ef82215542a4758edfe313dd16f40268d2aee3 /contrib/binutils
parent7ea2e8fcfad6c7667e895da1308bcc77beeb0c03 (diff)
downloadFreeBSD-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.c3
-rw-r--r--contrib/binutils/gas/symbols.c6
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);
OpenPOWER on IntegriCloud