diff options
author | Joseph Myers <joseph@codesourcery.com> | 2019-02-14 20:35:16 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2019-02-14 20:35:16 +0000 |
commit | 712182c8dcc43e34a265268fb209b9dd20967f1e (patch) | |
tree | 8a55aaa63242b112b67cda1e86c9fb4cf859d274 /ChangeLog | |
parent | eb76e5b465a4b7b569cde4b4f57d1fcb4695c1c6 (diff) | |
download | glibc-712182c8dcc43e34a265268fb209b9dd20967f1e.zip glibc-712182c8dcc43e34a265268fb209b9dd20967f1e.tar.gz glibc-712182c8dcc43e34a265268fb209b9dd20967f1e.tar.bz2 |
Fix fall-through warnings in sunrpc/xdr.c.
This patch fixes implicit-fallthrough warnings in sunrpc/xdr.c when
building with -Wextra. A fall-through comment is added in three
places; in two other places, an existing comment is reworded so it
matches the default patterns used by -Wimplicit-fallthrough.
Tested for x86_64.
* sunrpc/xdr.c (xdr_int): Add fall-through comment.
(xdr_u_int): Likewise.
(xdr_enum): Likewise.
(xdr_bytes): Reword fall-through comment.
(xdr_string): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2019-02-14 Joseph Myers <joseph@codesourcery.com> + + * sunrpc/xdr.c (xdr_int): Add fall-through comment. + (xdr_u_int): Likewise. + (xdr_enum): Likewise. + (xdr_bytes): Reword fall-through comment. + (xdr_string): Likewise. + 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org> [BZ #2421] |