diff --git a/src/lib66/instance.c b/src/lib66/instance.c
index e69a627202d5c4a1c979da71f615954a10a8f731..d71cee973b5e647f967b49c74b438f0fa5539003 100644
--- a/src/lib66/instance.c
+++ b/src/lib66/instance.c
@@ -34,9 +34,8 @@
 int instance_check(char const *svname)
 {
 	int r ;
-	size_t len = strlen(svname) ;
 	r = get_len_until(svname,'@') ;
-	// len == r avoid empty value after the instance template name
+	// avoid empty value after the instance template name
 	if (strlen(svname+r) <= 1 && r > 0) return 0 ;
 	
 	return r ;