[PATCH] =?UTF-8?q?nm-manager.c:474:20:=20error:=20unused=20variable?= =?UTF-8?q?=20=E2=80=98priv=E2=80=99?=



---
 src/nm-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/nm-manager.c b/src/nm-manager.c
index 146d491..d04a4e4 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -471,7 +471,9 @@ manager_device_state_changed (NMDevice *device,
                               gpointer user_data)
 {
 	NMManager *self = NM_MANAGER (user_data);
+#if WITH_CONCHECK
 	NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (self);
+#endif
 
 	switch (new_state) {
 	case NM_DEVICE_STATE_UNMANAGED:
-- 
1.7.7.6



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]