From f855c5b5bbbc6d5436741fd8108be64825a3c76b Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 15 Sep 2025 14:06:55 +0200 Subject: general refactorin in lib, more local variables, real booleans --- lib/tests/test_ini1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/tests/test_ini1.c') diff --git a/lib/tests/test_ini1.c b/lib/tests/test_ini1.c index 3792d142..de983764 100644 --- a/lib/tests/test_ini1.c +++ b/lib/tests/test_ini1.c @@ -50,11 +50,10 @@ char *list2str(np_arg_list *optlst) { } int main(int argc, char **argv) { - char *optstr = NULL; plan_tests(12); - optstr = list2str(np_get_defaults("section@./config-tiny.ini", "check_disk")); + char *optstr = list2str(np_get_defaults("section@./config-tiny.ini", "check_disk")); ok(!strcmp(optstr, "--one=two --Foo=Bar --this=Your Mother! --blank"), "config-tiny.ini's section as expected"); my_free(optstr); -- cgit v1.2.3-74-g34f1