24 lines
905 B
Diff
24 lines
905 B
Diff
|
From 63a3811aa76802e9585e04cf12bf8de617442105 Mon Sep 17 00:00:00 2001
|
||
|
From: Wim Taymans <wtaymans@redhat.com>
|
||
|
Date: Thu, 18 Feb 2021 12:42:06 +0100
|
||
|
Subject: [PATCH 05/30] fix some warnings
|
||
|
|
||
|
---
|
||
|
spa/plugins/bluez5/backend-native.c | 2 +-
|
||
|
src/examples/media-session/default-routes.c | 18 +++++++++++++-----
|
||
|
2 files changed, 14 insertions(+), 6 deletions(-)
|
||
|
|
||
|
diff --git a/spa/plugins/bluez5/backend-native.c b/spa/plugins/bluez5/backend-native.c
|
||
|
index 4df714088..b4d4e5edf 100644
|
||
|
--- a/spa/plugins/bluez5/backend-native.c
|
||
|
+++ b/spa/plugins/bluez5/backend-native.c
|
||
|
@@ -437,7 +437,7 @@ static bool rfcomm_hfp_hf(struct spa_source *source, char* buf)
|
||
|
struct rfcomm *rfcomm = source->data;
|
||
|
struct spa_bt_backend *backend = rfcomm->backend;
|
||
|
unsigned int features;
|
||
|
- unsigned int gain;
|
||
|
+ unsigned int SPA_UNUSED gain;
|
||
|
unsigned int selected_codec;
|
||
|
char* token;
|
||
|
char separators[] = "\r\n:";
|