Date: Tue, 29 Oct 2013 20:35:29 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257360 - in head/contrib/binutils/gas: . config Message-ID: <201310292035.r9TKZTIG024601@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310292035.r9TKZTIG024601>