projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clean up compiler warnings
[libc-test]
/
src
/
stdio
/
snprintf.c
diff --git
a/src/stdio/snprintf.c
b/src/stdio/snprintf.c
index
f8768a8
..
ce92c1a
100644
(file)
--- a/
src/stdio/snprintf.c
+++ b/
src/stdio/snprintf.c
@@
-119,7
+119,7
@@
static const struct {
void test_snprintf(void)
{
int i, j, k;
- char b[2000]
, *s
;
+ char b[2000];
TEST(i, snprintf(0, 0, "%d", 123456), 6, "length returned %d != %d");
TEST(i, snprintf(0, 0, "%.4s", "hello"), 4, "length returned %d != %d");