mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
Fix warnings.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@959 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
2843b1a318
commit
3fa19ab457
8 changed files with 42 additions and 18 deletions
|
|
@ -515,7 +515,6 @@ static int esd_proto_server_info(struct connection *c, PA_GCC_UNUSED esd_proto_t
|
|||
}
|
||||
|
||||
static int esd_proto_all_info(struct connection *c, esd_proto_t request, const void *data, size_t length) {
|
||||
uint8_t *response;
|
||||
size_t t, k, s;
|
||||
struct connection *conn;
|
||||
uint32_t idx = PA_IDXSET_INVALID;
|
||||
|
|
@ -585,7 +584,6 @@ static int esd_proto_all_info(struct connection *c, esd_proto_t request, const v
|
|||
}
|
||||
|
||||
assert(t == s*(nsamples+1)+k);
|
||||
response += k;
|
||||
t -= k;
|
||||
|
||||
connection_write(c, terminator, k);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue