Re: [PATCH] Avoid gcc compiler warning

2014-12-09 Thread Jeff King
On Mon, Dec 08, 2014 at 05:38:59PM +0100, Johannes Schindelin wrote: At least on this developer's MacOSX (Snow Leopard, gcc-4.2.1), GCC prints a warning that 'hash' may be used uninitialized when compiling test-hashmap that 'hash' may be used uninitialized (but GCC 4.6.3 on this developer's

Re: [PATCH] Avoid gcc compiler warning

2014-12-09 Thread Johannes Schindelin
that you would prefer the useless initialization, so here goes: -- snipsnap -- Subject: [PATCH] Avoid gcc compiler warning At least on this developer's MacOSX (Snow Leopard, gcc-4.2.1), GCC prints a warning that 'hash' may be used uninitialized when compiling test-hashmap that 'hash' may be used

[PATCH] Avoid gcc compiler warning

2014-12-08 Thread Johannes Schindelin
At least on this developer's MacOSX (Snow Leopard, gcc-4.2.1), GCC prints a warning that 'hash' may be used uninitialized when compiling test-hashmap that 'hash' may be used uninitialized (but GCC 4.6.3 on this developer's Ubuntu server does not report this problem). Since hash() is called from