summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index 201f59e..add2992 100644
--- a/main.c
+++ b/main.c
@@ -123,7 +123,6 @@ int main(int argc, char *argv[])
DBusConnection *connection;
DBusError err;
- int ret;
dbus_error_init(&err);
connection = dbus_bus_get(DBUS_BUS_SESSION, &err);
@@ -137,7 +136,7 @@ int main(int argc, char *argv[])
return 1;
}
- ret = dbus_bus_request_name(connection, "com.ch1p.avm",
+ dbus_bus_request_name(connection, "com.ch1p.avm",
DBUS_NAME_FLAG_REPLACE_EXISTING , &err);
if (dbus_error_is_set(&err)) {
fprintf(stderr, "DBus Name Error (%s)\n", err.message);