diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2012-09-23 15:23:42 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2012-09-23 15:23:42 +0000 |
commit | fdea658e8eae2ace9dd416f8d227c5a0facb98ae (patch) | |
tree | d0592991fbae7575a7416acf5f23c0967c3858be /test/testfile.c | |
parent | 585e79153eb7889c07049ef22215bbb8bcbc1e8c (diff) | |
download | libapr-fdea658e8eae2ace9dd416f8d227c5a0facb98ae.tar.gz |
easy fixes for a few warnings about unused variables
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1389077 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testfile.c')
-rw-r--r-- | test/testfile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testfile.c b/test/testfile.c index dad214e35..fa494a293 100644 --- a/test/testfile.c +++ b/test/testfile.c @@ -749,6 +749,7 @@ static void test_writev_buffered_seek(abts_case *tc, void *data) APR_OS_DEFAULT, p)); rv = apr_file_read(f, str, &nbytes); + ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); ABTS_STR_EQUAL(tc, TESTSTR, str); APR_ASSERT_SUCCESS(tc, "buffered seek", apr_file_seek(f, APR_SET, &off)); @@ -1006,6 +1007,7 @@ static void test_xthread(abts_case *tc, void *data) apr_off_t offset = 0; rv = apr_file_seek(f, APR_END, &offset); + ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); } APR_ASSERT_SUCCESS(tc, "more writes should succeed", @@ -1016,6 +1018,7 @@ static void test_xthread(abts_case *tc, void *data) apr_off_t offset = 0; rv = apr_file_seek(f, APR_SET, &offset); + ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); } apr_file_read_full(f, buf, sizeof(buf), NULL); |