diff options
Diffstat (limited to 'tests/server/testpart.c')
-rw-r--r-- | tests/server/testpart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/server/testpart.c b/tests/server/testpart.c index 79869e21c..77f148640 100644 --- a/tests/server/testpart.c +++ b/tests/server/testpart.c @@ -30,15 +30,15 @@ int main(int argc, char **argv) { - int rc; char *part; - size_t partlen, i; + size_t partlen; if(argc< 3) { printf("./testpart main sub\n"); } else { - rc = getpart(&part, &partlen, argv[1], argv[2], stdin); + int rc = getpart(&part, &partlen, argv[1], argv[2], stdin); + size_t i; if(rc) return rc; for(i = 0; i < partlen; i++) |