From 099f2c6323f5ddbd9b7efb7032169b9a7352d183 Mon Sep 17 00:00:00 2001 From: Jaska Uimonen Date: Thu, 31 Oct 2013 09:24:11 +0200 Subject: [PATCH] fix warning in stream restore patch Change-Id: I26224f8bfd1a9ce44f953dfcbe390688acf8ec47 Signed-off-by: Jaska Uimonen --- src/pulsecore/proplist-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulsecore/proplist-util.c b/src/pulsecore/proplist-util.c index fa6d806..0a8dbca 100644 --- a/src/pulsecore/proplist-util.c +++ b/src/pulsecore/proplist-util.c @@ -300,7 +300,7 @@ char *pa_proplist_get_stream_group_extended(pa_proplist *p, const char *prefix, r = NULL; } } - else if (r = pa_proplist_gets(p, preferred_stream_group)) { + else if ((r = pa_proplist_gets(p, preferred_stream_group))) { if (!strcmp(preferred_stream_group, PA_PROP_MEDIA_ROLE)) t = pa_sprintf_malloc("%s-by-media-role:%s", prefix, r); else if (!strcmp(preferred_stream_group, PA_PROP_APPLICATION_ID)) -- 2.7.4