From 5818a2c63e9a52a545b9c8eb6fdbfa24cfee822f Mon Sep 17 00:00:00 2001 From: Maarten Bosmans Date: Thu, 23 Jun 2011 22:21:03 +0200 Subject: win32: Make some unused-variable warnings go away --- src/pulse/stream.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/pulse/stream.c') diff --git a/src/pulse/stream.c b/src/pulse/stream.c index d60b864b..373bc346 100644 --- a/src/pulse/stream.c +++ b/src/pulse/stream.c @@ -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) -- cgit