extensions BUGFIX use correct variable
diff --git a/src/resolve.c b/src/resolve.c
index 7242cd6..b48dc91 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -4490,7 +4490,7 @@
         break;
     default:
         vlog_node = NULL;
-        vlog_node = LY_VLOG_NONE;
+        vlog_type = LY_VLOG_NONE;
         break;
     }