serf_bucket_response_status
From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 20 Apr 2010 11:15:57 +0100
Recent versions of GCC warn about variables that get assigned but not
../src/subversion/libsvn_ra_serf/locks.c:363:20: warning: variable ‘rv’ set but not used
these all involve calls:
apr_status_t rv;
where rv is ignored. This prompted me to look at the other calls to
Looking in the serf test suite I see things like:
static apr_status_t handle_response(serf_request_t *request,
status = serf_bucket_response_status(response, &sl);
In some cases, such as the util.c:823 and util.c:983, where an error
serf_bucket_response_status(response, &sl);
and locks.c:363, is it acceptable to ignore the potential for
-- PhilipReceived on 2010-04-20 12:16:36 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.