yanglint UPDATE redudnant var removed
diff --git a/tools/lint/main_ni.c b/tools/lint/main_ni.c
index 970a85a..e393241 100644
--- a/tools/lint/main_ni.c
+++ b/tools/lint/main_ni.c
@@ -431,7 +431,6 @@
             LY_ERR ret;
             uint8_t path_unset = 1; /* flag to unset the path from the searchpaths list (if not already present) */
             const char **features;
-            struct lys_module *mod;
 
             /* parse the input */
             if (parse_schema_path(argv[optind + i], &dir, &module)) {