tree schema internal CHANGE remove unused parameter from YANG_CHECK_NONEMPTY macro
diff --git a/src/tree_schema_internal.h b/src/tree_schema_internal.h
index 9efe64e..76e5413 100644
--- a/src/tree_schema_internal.h
+++ b/src/tree_schema_internal.h
@@ -59,7 +59,7 @@
         } \
     }
 
-#define YANG_CHECK_NONEMPTY(CTX, OBJECT, VALUE_LEN, STMT) \
+#define YANG_CHECK_NONEMPTY(CTX, VALUE_LEN, STMT) \
     if (!VALUE_LEN) { \
         LOGWRN((CTX)->ctx, "Empty argument of %s statement does not make sense.", STMT); \
     }