diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2002-11-14 12:33:45 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2002-11-14 12:33:45 +0000 |
commit | dd1a7393732317958955b0bff000839f589a2ffd (patch) | |
tree | 44249c3f20e9b16dd3bb183b341d878bd8590fa4 /test | |
parent | d299834ea5040d71f1199d1fe0cc35d8554415bf (diff) | |
download | libapr-dd1a7393732317958955b0bff000839f589a2ffd.tar.gz |
Remove "unused variable" warnings from GCC.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64024 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/testdir.c | 4 | ||||
-rw-r--r-- | test/testtable.c | 2 | ||||
-rw-r--r-- | test/testtime.c | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/test/testdir.c b/test/testdir.c index 0fc58ab55..1d0d53581 100644 --- a/test/testdir.c +++ b/test/testdir.c @@ -112,7 +112,6 @@ static void test_remove(CuTest *tc) static void test_removeall_fail(CuTest *tc) { apr_status_t rv; - apr_finfo_t finfo; rv = apr_dir_remove("data/one", p); CuAssertIntEquals(tc, 1, APR_STATUS_IS_ENOTEMPTY(rv)); @@ -121,7 +120,6 @@ static void test_removeall_fail(CuTest *tc) static void test_removeall(CuTest *tc) { apr_status_t rv; - apr_finfo_t finfo; rv = apr_dir_remove("data/one/two/three", p); CuAssertIntEquals(tc, APR_SUCCESS, rv); @@ -136,7 +134,6 @@ static void test_removeall(CuTest *tc) static void test_remove_notthere(CuTest *tc) { apr_status_t rv; - apr_finfo_t finfo; rv = apr_dir_remove("data/notthere", p); CuAssertIntEquals(tc, 1, APR_STATUS_IS_ENOENT(rv)); @@ -145,7 +142,6 @@ static void test_remove_notthere(CuTest *tc) static void test_mkdir_twice(CuTest *tc) { apr_status_t rv; - apr_finfo_t finfo; rv = apr_dir_make("data/testdir", APR_UREAD | APR_UWRITE | APR_UEXECUTE, p); CuAssertIntEquals(tc, APR_SUCCESS, rv); diff --git a/test/testtable.c b/test/testtable.c index 6f89fdfb1..b71c4f78a 100644 --- a/test/testtable.c +++ b/test/testtable.c @@ -78,7 +78,6 @@ static void table_make(CuTest *tc) static void table_get(CuTest *tc) { - apr_status_t rv; const char *val; apr_table_set(t1, "foo", "bar"); @@ -88,7 +87,6 @@ static void table_get(CuTest *tc) static void table_set(CuTest *tc) { - apr_status_t rv; const char *val; apr_table_set(t1, "setkey", "bar"); diff --git a/test/testtime.c b/test/testtime.c index 8ccab93f0..9dbfb18df 100644 --- a/test/testtime.c +++ b/test/testtime.c @@ -251,7 +251,6 @@ static void test_exp_tz(CuTest *tc) apr_status_t rv; apr_time_exp_t xt; apr_int32_t hr_off = -5 * 3600; /* 5 hours in seconds */ - apr_time_exp_t expnow = { 186711, 36, 5, 14, 14, 8, 102, 6, 256, 0, -18000 }; rv = apr_time_exp_tz(&xt, now, hr_off); if (rv == APR_ENOTIMPL) { |