mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
win32: Make some unused-variable warnings go away
This commit is contained in:
parent
3adc43b8fe
commit
5818a2c63e
15 changed files with 49 additions and 29 deletions
|
|
@ -790,11 +790,10 @@ void pa_command_stream_event(pa_pdispatch *pd, uint32_t command, uint32_t tag, p
|
|||
goto finish;
|
||||
|
||||
if (pa_streq(event, PA_STREAM_EVENT_FORMAT_LOST)) {
|
||||
/* Let client know what the running time was when the stream had to be
|
||||
* killed */
|
||||
pa_usec_t time;
|
||||
if (pa_stream_get_time(s, &time) == 0)
|
||||
pa_proplist_setf(pl, "stream-time", "%llu", (unsigned long long) time);
|
||||
/* Let client know what the running time was when the stream had to be killed */
|
||||
pa_usec_t stream_time;
|
||||
if (pa_stream_get_time(s, &stream_time) == 0)
|
||||
pa_proplist_setf(pl, "stream-time", "%llu", (unsigned long long) stream_time);
|
||||
}
|
||||
|
||||
if (s->event_callback)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue