From 80df1e3aca93bf1923a58c3d07c0bd08b53236db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Tue, 14 Jun 2011 16:17:05 +0200 Subject: [PATCH] libnm-util: remove unused D-Bus dbus_g_bus_get() call from test-secrets.c --- libnm-util/tests/test-secrets.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libnm-util/tests/test-secrets.c b/libnm-util/tests/test-secrets.c index 6d46f99e9..f1d105fcd 100644 --- a/libnm-util/tests/test-secrets.c +++ b/libnm-util/tests/test-secrets.c @@ -20,7 +20,6 @@ */ #include -#include #include #include "nm-test-helpers.h" @@ -601,11 +600,9 @@ test_update_secrets_wifi_bad_setting_name (void) int main (int argc, char **argv) { GError *error = NULL; - DBusGConnection *bus; char *base; g_type_init (); - bus = dbus_g_bus_get (DBUS_BUS_SESSION, NULL); if (!nm_utils_init (&error)) FAIL ("nm-utils-init", "failed to initialize libnm-util: %s", error->message);