diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-10-30 09:23:24 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-10-30 09:23:24 -0700 |
commit | 1c52a97a1eca78699c7c115857a2c36d9e53cf64 (patch) | |
tree | e77fd472fc08e0501dac8ac2df91ebda3ad115f5 | |
parent | Avoid two warnings in strtol{,l} tests. (diff) | |
download | glibc-1c52a97a1eca78699c7c115857a2c36d9e53cf64.tar.gz glibc-1c52a97a1eca78699c7c115857a2c36d9e53cf64.tar.bz2 glibc-1c52a97a1eca78699c7c115857a2c36d9e53cf64.zip |
Avoid warning in scanf test.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | stdio-common/scanf13.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2009-10-30 Ulrich Drepper <drepper@redhat.com> + * stdio-common/scanf13.c (main): Remove unused variable wbuf. + * stdlib/tst-strtol.c (tests): Mark one more constant as unsigned to avoid warning. * stdlib/tst-strtoll.c (tests): Likewise. diff --git a/stdio-common/scanf13.c b/stdio-common/scanf13.c index e53cde29c7..720224aa05 100644 --- a/stdio-common/scanf13.c +++ b/stdio-common/scanf13.c @@ -11,7 +11,6 @@ main (void) wchar_t *lsp1, *lsp2, *lsp3, *lsp4; int result = 0; char buf[2048+64]; - wchar_t wbuf[2048+64]; size_t i; #define FAIL() \ |