diff options
author | Joseph Myers <joseph@codesourcery.com> | 2019-02-04 14:48:43 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2019-02-04 14:49:37 +0000 |
commit | 7a0dcfc6439cd4e19bf393c2e2347e385361a82c (patch) | |
tree | 29d2f89f3590efc6800e9d3c8f85a9c93051d2f2 /ChangeLog | |
parent | 65f7767a914144ae303f7b9ae81865061793dcb9 (diff) | |
download | glibc-7a0dcfc6439cd4e19bf393c2e2347e385361a82c.tar glibc-7a0dcfc6439cd4e19bf393c2e2347e385361a82c.tar.gz glibc-7a0dcfc6439cd4e19bf393c2e2347e385361a82c.tar.bz2 glibc-7a0dcfc6439cd4e19bf393c2e2347e385361a82c.zip |
Remove duplicate initialization of field in nscd.
I'm looking at the warnings from building glibc with -Wextra, to see
if we could use -Wextra by default, possibly with a few of its
warnings disabled, and so benefit from warnings in -Wextra but not in
-Wall. (The vast bulk of the extra warnings so produced are from
-Wunused-parameter -Wsign-compare -Wmissing-field-initializers
-Wtype-limits, so I expect those would be disabled at least at first.)
Various miscellaneous warnings show up with -Wextra that it clearly
seems to make sense to fix independent of whether we add -Wextra to
the normal options for building glibc. This patch fixes one:
"initialized field overwritten [-Woverride-init]" in nscd.
Tested for x86_64.
* nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
once.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2019-02-04 Joseph Myers <joseph@codesourcery.com> + + * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only + once. + 2019-02-04 Andreas Schwab <schwab@suse.de> [BZ #16976] |