diff options
author | Eric Blake <eblake@redhat.com> | 2012-01-11 14:48:31 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-01-11 14:48:31 -0700 |
commit | e4196e8dce983586517ee1f25efbbf77ee14c439 (patch) | |
tree | a41d8ca089aace89a8e1a87997da43c1d85d32a3 /ChangeLog | |
parent | 92f1c30e37851a1d32330febc0dfd2548f3f64c5 (diff) | |
download | gnulib-e4196e8dce983586517ee1f25efbbf77ee14c439.tar.gz |
inet_ntop: silence gcc warning
gcc -O2 couldn't tell that if best.base != -1, then best.len
was necessarily initialized.
* lib/inet_ntop.c (inet_ntop6): Initialize best.base.
Reported by Daniel P. Berrange.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2012-01-11 Eric Blake <eblake@redhat.com> + + inet_ntop: silence gcc warning + * lib/inet_ntop.c (inet_ntop6): Initialize best.base. + Reported by Daniel P. Berrange. + 2012-01-11 Dmitry V. Levin <ldv@altlinux.org> getloadavg test: skip the test on GNU/Linux without /proc mounted |