migration from private to rsa
[external/dbus-glib.git] / test / test-service.c
index 8a092c2..10ef50a 100755 (executable)
@@ -1,3 +1,5 @@
+#include <config.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -321,7 +323,6 @@ main (int    argc,
       char **argv)
 {
   DBusError error;
-  int result;
   DBusConnection *connection;
   
   dbus_error_init (&error);
@@ -352,7 +353,7 @@ main (int    argc,
       die ("dbus_connection_get_object_path_data() doesn't seem to work right\n");
   }
   
-  result = dbus_bus_request_name (connection, "org.freedesktop.DBus.GLib.TestEchoService",
+  dbus_bus_request_name (connection, "org.freedesktop.DBus.GLib.TestEchoService",
                                   0, &error);
   if (dbus_error_is_set (&error))
     {