BUGFIX duplicated and covered variable
diff --git a/src/mod_netconf.c b/src/mod_netconf.c
index 7417b9e..ccd62e8 100644
--- a/src/mod_netconf.c
+++ b/src/mod_netconf.c
@@ -2184,7 +2184,6 @@
 	pthread_t * ptids = calloc(1, sizeof(pthread_t));
 	struct timespec maxtime;
 	pthread_rwlockattr_t lock_attrs;
-	char *sockname = NULL;
 	#ifdef WITH_NOTIFICATIONS
 	char use_notifications = 0;
 	#endif