call-forwarding: Remove unneeded variable
authorOleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Tue, 10 Apr 2012 12:17:29 +0000 (15:17 +0300)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 23 Apr 2012 20:39:35 +0000 (15:39 -0500)
src/call-forwarding.c

index 1b6c41b..c025942 100644 (file)
@@ -546,8 +546,8 @@ static void get_query_cf_callback(const struct ofono_error *error, int total,
        }
 
        if (cf->query_next == CALL_FORWARDING_TYPE_NOT_REACHABLE) {
-               DBusMessage *reply = cf_get_properties_reply(cf->pending, cf);
-               __ofono_dbus_pending_reply(&cf->pending, reply);
+               __ofono_dbus_pending_reply(&cf->pending,
+                               cf_get_properties_reply(cf->pending, cf));
                return;
        }