module-stream-restore: Silence compiler warnings when dbus is disabled
authorArnaud Rebillout <arnaud.rebillout@collabora.com>
Fri, 19 Oct 2018 09:28:57 +0000 (16:28 +0700)
committerArun Raghavan <arun@arunraghavan.net>
Thu, 27 Dec 2018 11:55:55 +0000 (17:25 +0530)
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
src/modules/module-stream-restore.c

index 228e9e4..6c7b4c7 100644 (file)
@@ -1415,6 +1415,11 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
         if (mute_updated)
             send_mute_updated_signal(de, entry);
     }
+#else
+    /* Silence compiler warnings */
+    (void) device_updated;
+    (void) volume_updated;
+    (void) mute_updated;
 #endif
 
     entry_free(entry);