win32: fix uninitialized variable when building with DEBUG=0 OPTIMIZE=-O2
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 29 May 2012 13:09:41 +0000 (15:09 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 29 May 2012 13:19:31 +0000 (15:19 +0200)
commit69b28598cc3fac7399b2c8c905e8e6470e5bc842
treeaab49cb8320a0ba58a1e9b5af68e5726743f8511
parent17d6e5182454368714e5dd099426b1fa2b629543
win32: fix uninitialized variable when building with DEBUG=0 OPTIMIZE=-O2

src/win32/compat.c: In function 'inet_ntop':
src/win32/compat.c:437:25: error: 'best.len' may be used uninitialized in this function [-Werror=uninitialized]
src/win32/compat.c:403:5: note: 'best.len' was declared here

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/win32/compat.c