From 2631174d4eeb4ae167bca5a2f5eeb3ad9eb041e1 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 20 Oct 2015 17:42:59 +0200 Subject: [PATCH] ifcfg-rh: remove another unused variable in parse_ethtool_option() (cherry picked from commit 58fc4381ff718a009fe7eb72a42a9c22e0b0a56a) --- src/settings/plugins/ifcfg-rh/reader.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/settings/plugins/ifcfg-rh/reader.c b/src/settings/plugins/ifcfg-rh/reader.c index 97c5d47812..271b7bb131 100644 --- a/src/settings/plugins/ifcfg-rh/reader.c +++ b/src/settings/plugins/ifcfg-rh/reader.c @@ -3511,7 +3511,6 @@ parse_ethtool_option (const char *value, NMSettingWiredWakeOnLan *out_flags, cha { gs_strfreev char **words = NULL; const char **iter = NULL, *flag; - gboolean has_flags = FALSE; if (!value || !value[0]) return; @@ -3541,7 +3540,6 @@ parse_ethtool_option (const char *value, NMSettingWiredWakeOnLan *out_flags, cha if (is_wol) { NMSettingWiredWakeOnLan wol_flags = NM_SETTING_WIRED_WAKE_ON_LAN_NONE; - has_flags = TRUE; if (!iter[0]) { PARSE_WARNING ("Wake-on-LAN options missing");