summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-05-27 10:36:42 -0700
committerMarcel Holtmann <marcel@holtmann.org>2011-05-27 10:36:42 -0700
commit8b2d9ae04a651d145e42f05fd61af6c1aad03b69 (patch)
tree1210326b595eb8201f12cbadd43b0202005b317d
parent6fc9f376c54ef95efe2890e5e0ec6c11d0822ce0 (diff)
downloadconnman-8b2d9ae04a651d145e42f05fd61af6c1aad03b69.tar.gz
connman-8b2d9ae04a651d145e42f05fd61af6c1aad03b69.tar.bz2
connman-8b2d9ae04a651d145e42f05fd61af6c1aad03b69.zip
task: Remove unused variable
-rw-r--r--src/task.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/task.c b/src/task.c
index a74c7284..37bbe71f 100644
--- a/src/task.c
+++ b/src/task.c
@@ -383,13 +383,12 @@ static DBusHandlerResult task_filter(DBusConnection *connection,
if (dbus_message_get_no_reply(message) == FALSE) {
DBusMessage *reply;
- dbus_bool_t result;
reply = dbus_message_new_method_return(message);
if (reply == NULL)
return DBUS_HANDLER_RESULT_NEED_MEMORY;
- result = dbus_connection_send(connection, reply, NULL);
+ dbus_connection_send(connection, reply, NULL);
dbus_message_unref(reply);
}