aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-10-30 09:23:24 -0700
committerUlrich Drepper <drepper@redhat.com>2009-10-30 09:23:24 -0700
commit1c52a97a1eca78699c7c115857a2c36d9e53cf64 (patch)
treee77fd472fc08e0501dac8ac2df91ebda3ad115f5
parent08c7ad975ca9e9f017dbbd35e2c01f34058ca700 (diff)
downloadglibc-1c52a97a1eca78699c7c115857a2c36d9e53cf64.zip
glibc-1c52a97a1eca78699c7c115857a2c36d9e53cf64.tar.gz
glibc-1c52a97a1eca78699c7c115857a2c36d9e53cf64.tar.bz2
Avoid warning in scanf test.
-rw-r--r--ChangeLog2
-rw-r--r--stdio-common/scanf13.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index de5289a..5aba2e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 e53cde2..720224a 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() \