bt-service/bt-service-avrcp: Fix unused variable errors 38/34838/2
authorGowtham Anandha Babu <gowtham.ab@samsung.com>
Tue, 3 Feb 2015 12:02:35 +0000 (17:32 +0530)
committerGowtham Anandha Babu <gowtham.ab@samsung.com>
Wed, 4 Feb 2015 09:34:28 +0000 (01:34 -0800)
Fix the following unused variable errors:
[bt-service/bt-service-avrcp.c:160]: (style) Unused variable: error
[bt-service/bt-service-avrcp.c:161]: (style) Unused variable: value
[bt-service/bt-service-avrcp.c:162]: (style) Unused variable: status

Change-Id: Ifb9d145c6bd5b572c529cd0f069b8502fe447a66
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
bt-service/bt-service-avrcp.c

index f01acd7..f71e011 100644 (file)
@@ -157,15 +157,10 @@ static gboolean bt_media_agent_set_property(BtMediaAgent *agent,
                                                const char *property, GValue *val,
                                                DBusGMethodInvocation *context)
 {
-       GError *error;
-       const gchar *value;
-       unsigned int status;
-
        BT_DBG("property %s\n", property);
 
        dbus_g_method_return(context);
        return TRUE;
-
 }
 
 static const char *loopstatus_to_repeat(const char *value)