inet_ntop.c: Work around GCC 4.6's detection of uninitialized variables
commit7b316a49b55a2cbe0321e72dce28a92126801d49
authorSebastian Schuberth <sschuberth@gmail.com>
Tue, 18 Oct 2011 16:20:35 +0000 (18 18:20 +0200)
committerSebastian Schuberth <sschuberth@gmail.com>
Tue, 18 Oct 2011 18:08:50 +0000 (18 20:08 +0200)
treeff45d4e7684a586a92507a5d7876b8c9937bcc79
parente59f1619d0eb9ed2d3c54b8fb83518c71e9f32b4
inet_ntop.c: Work around GCC 4.6's detection of uninitialized variables

GCC 4.6 claims that

    error: 'best.len' may be used uninitialized in this function

so silence that warning which is treated as an error by also initializing
the "len" members of the struct.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
compat/inet_ntop.c