summaryrefslogtreecommitdiff
path: root/test/testdir.c
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2002-11-14 12:33:45 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2002-11-14 12:33:45 +0000
commitdd1a7393732317958955b0bff000839f589a2ffd (patch)
tree44249c3f20e9b16dd3bb183b341d878bd8590fa4 /test/testdir.c
parentd299834ea5040d71f1199d1fe0cc35d8554415bf (diff)
downloadlibapr-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/testdir.c')
-rw-r--r--test/testdir.c4
1 files changed, 0 insertions, 4 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);