mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 01:10:08 +01:00
libnm-util: remove unused D-Bus dbus_g_bus_get() call from test-secrets.c
This commit is contained in:
parent
80df1e3aca
commit
c32914fa3b
1 changed files with 0 additions and 2 deletions
|
|
@ -1297,11 +1297,9 @@ test_setting_compare_vpn_secrets (NMSettingSecretFlags secret_flags,
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue