diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2018-03-02 06:19:03 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-03-06 23:52:08 +0000 |
commit | 94810c80f955c1787d64b6aa8bf79f33c7d41379 (patch) | |
tree | a3bfbfa785f5dcd950ee9f4c53e98aca1595c0a8 | |
parent | 87cd971e494aaa697c221ab7e846ea9bd2574287 (diff) | |
download | strace-94810c80f955c1787d64b6aa8bf79f33c7d41379.tar.gz |
tests/test_printstrn.c: do not declare i again
-rw-r--r-- | tests/test_printstrn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_printstrn.c b/tests/test_printstrn.c index 609a43b27..fa44e1272 100644 --- a/tests/test_printstrn.c +++ b/tests/test_printstrn.c @@ -111,7 +111,7 @@ test_printstrn(const unsigned int test_max) fill_memory_ex(p, test_max + page_size, 0x00, 0xFF); /* Test corner cases when octal quoting goes before digit */ - for (int i = 0; i < 11; i++) + for (i = 0; i < 11; i++) p[2 + 3 * i] = '0' + i - 1; test_print_memory(p, test_max); |