mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 13:38:43 +02:00
libnm-core/setting-ip-config: drop an unused variable
Upsets clang:
libnm-core/nm-setting-ip-config.c:2688:43: error: unused variable 'setting_class' [-Werror,-Wunused-variable]
nm_auto_unref_gtypeclass NMSettingClass *setting_class = g_type_class_ref (NM_TYPE_SETTING_IP_CONFIG);
Fixes: a3d6976efc
This commit is contained in:
parent
c4eadb709c
commit
2ff54b8532
1 changed files with 0 additions and 1 deletions
|
|
@ -2685,7 +2685,6 @@ ip_gateway_set (NMSetting *setting,
|
||||||
GArray *
|
GArray *
|
||||||
_nm_sett_info_property_override_create_array_ip_config (void)
|
_nm_sett_info_property_override_create_array_ip_config (void)
|
||||||
{
|
{
|
||||||
nm_auto_unref_gtypeclass NMSettingClass *setting_class = g_type_class_ref (NM_TYPE_SETTING_IP_CONFIG);
|
|
||||||
GArray *properties_override = _nm_sett_info_property_override_create_array ();
|
GArray *properties_override = _nm_sett_info_property_override_create_array ();
|
||||||
|
|
||||||
_properties_override_add_override (properties_override,
|
_properties_override_add_override (properties_override,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue