diff options
author | Thomas Haller <thaller@redhat.com> | 2013-10-22 17:11:24 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2013-10-22 18:45:22 +0200 |
commit | c67f978df09cbf25c3c9e2fae6003f291c7aa184 (patch) | |
tree | 1dabd37bbed87864a44f1c717b55500e9073194b /src/nm-dbus-manager.c | |
parent | ba781ced5701922c7e8f05e5b451a0b464977d88 (diff) | |
download | NetworkManager-c67f978df09cbf25c3c9e2fae6003f291c7aa184.tar.gz |
core: fix compiler warnings -Werror=shadow by trivial renaming of variables
https://bugzilla.gnome.org/show_bug.cgi?id=710497
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/nm-dbus-manager.c')
-rw-r--r-- | src/nm-dbus-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nm-dbus-manager.c b/src/nm-dbus-manager.c index 2c219861e8..ca2182d325 100644 --- a/src/nm-dbus-manager.c +++ b/src/nm-dbus-manager.c @@ -787,7 +787,7 @@ nm_dbus_manager_register_exported_type (NMDBusManager *self, GType object_type, const DBusGObjectInfo *info) { - const char *properties_info, *dbus_name, *gobject_name, *access; + const char *properties_info, *dbus_name, *gobject_name, *tmp_access; dbus_g_object_type_install_info (object_type, info); if (!info->exported_properties) @@ -798,8 +798,8 @@ nm_dbus_manager_register_exported_type (NMDBusManager *self, /* The format is: "interface\0DBusPropertyName\0gobject_property_name\0access\0" */ dbus_name = strchr (properties_info, '\0') + 1; gobject_name = strchr (dbus_name, '\0') + 1; - access = strchr (gobject_name, '\0') + 1; - properties_info = strchr (access, '\0') + 1; + tmp_access = strchr (gobject_name, '\0') + 1; + properties_info = strchr (tmp_access, '\0') + 1; /* Note that nm-properties-changed-signal takes advantage of the * fact that @dbus_name and @gobject_name are static data that won't |