From: Sebastian Reitenbach Date: Wed, 8 Jun 2011 09:14:31 +0000 (+0200) Subject: (find_first_one): Fixed c99-style declaration. Reported by Sebastian X-Git-Tag: nettle_2.2_release_20110711~77 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95a27492eed95efcad49e9ac9812aaeda55c0502;p=thirdparty%2Fnettle.git (find_first_one): Fixed c99-style declaration. Reported by Sebastian Reitenbach. Rev: nettle/examples/eratosthenes.c:1.11 --- diff --git a/examples/eratosthenes.c b/examples/eratosthenes.c index 293aa0da..25759bba 100644 --- a/examples/eratosthenes.c +++ b/examples/eratosthenes.c @@ -145,10 +145,11 @@ find_first_one (unsigned long x) 7, }; + unsigned i = 0; + /* Isolate least significant bit */ x &= -x; - unsigned i = 0; #if NEED_HANDLE_LARGE_LONG #ifndef SIZEOF_LONG /* Can not be tested by the preprocessor. May generate warnings