diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-11-26 12:54:39 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-11-26 12:54:39 +0000 |
commit | 12da14a59135fe331f294b91488c1bdf55b35b4e (patch) | |
tree | 32c04ca07391dfc8df76cd782707e9f772016dbc /ChangeLog | |
parent | bd5dadac87467eec9d6ffc3f1b11897ea052a636 (diff) | |
download | glibc-12da14a59135fe331f294b91488c1bdf55b35b4e.zip glibc-12da14a59135fe331f294b91488c1bdf55b35b4e.tar.gz glibc-12da14a59135fe331f294b91488c1bdf55b35b4e.tar.bz2 |
Fix warnings in fwscanf / rewind tests.
This patch fixes "set but not used" warnings in the tests
libio/bug-rewind.c and libio/bug-rewind2.c by checking the return
values from fwscanf and making the tests fail if those values aren't
as expected.
Tested for x86_64.
* libio/bug-rewind.c (do_test): Check fwscanf return values.
* libio/bug-rewind2.c (do_test): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2014-11-26 Joseph Myers <joseph@codesourcery.com> + * libio/bug-rewind.c (do_test): Check fwscanf return values. + * libio/bug-rewind2.c (do_test): Likewise. + * debug/test-stpcpy_chk-ifunc.c: Remove file. * debug/test-strcpy_chk-ifunc.c: Likewise. * wcsmbs/test-wcschr-ifunc.c: Likewise. |