svn commit: r257360 - in head/contrib/binutils/gas: . config
Sean Bruno
sbruno at FreeBSD.org
Tue Oct 29 20:35:29 UTC 2013
Author: sbruno
Date: Tue Oct 29 20:35:28 2013
New Revision: 257360
URL: http://svnweb.freebsd.org/changeset/base/257360
Log:
Queisce warning about empty bodies in these loops by bumping the ;; to the
next line.
Modified:
head/contrib/binutils/gas/config/atof-ieee.c
head/contrib/binutils/gas/symbols.c
Modified: head/contrib/binutils/gas/config/atof-ieee.c
==============================================================================
--- head/contrib/binutils/gas/config/atof-ieee.c Tue Oct 29 20:04:50 2013 (r257359)
+++ head/contrib/binutils/gas/config/atof-ieee.c Tue Oct 29 20:35:28 2013 (r257360)
@@ -420,7 +420,8 @@ gen_to_words (LITTLENUM_TYPE *words, int
- 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
Modified: head/contrib/binutils/gas/symbols.c
==============================================================================
--- head/contrib/binutils/gas/symbols.c Tue Oct 29 20:04:50 2013 (r257359)
+++ head/contrib/binutils/gas/symbols.c Tue Oct 29 20:35:28 2013 (r257360)
@@ -1666,7 +1666,8 @@ dollar_label_name (register long n, /* w
*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
*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);
More information about the svn-src-all
mailing list