test REFACTOR fix unused variable warnings
diff --git a/tests/utests/basic/test_plugins.c b/tests/utests/basic/test_plugins.c
index 4afd9a4..95b190f 100644
--- a/tests/utests/basic/test_plugins.c
+++ b/tests/utests/basic/test_plugins.c
@@ -35,6 +35,7 @@
 static void
 test_add_invalid(void **state)
 {
+    (void)state;
     assert_int_equal(LY_ESYS, lyplg_add(TESTS_BIN "/plugins/plugin_does_not_exist" LYPLG_SUFFIX));
 }