From: Volker Lendecke Date: Mon, 26 Jan 2026 12:00:11 +0000 (+0100) Subject: lib: Remove unused str_list_show X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0608800637c5c4de0b80b5dea012875cfddd7b82;p=thirdparty%2Fsamba.git lib: Remove unused str_list_show Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/lib/util/util_strlist.c b/lib/util/util_strlist.c index e10200260fd..ba51e5c0a4f 100644 --- a/lib/util/util_strlist.c +++ b/lib/util/util_strlist.c @@ -454,21 +454,6 @@ _PUBLIC_ const char **str_list_unique(const char **list) return list; } -/* - very useful when debugging complex list related code - */ -_PUBLIC_ void str_list_show(const char **list) -{ - int i; - DEBUG(0,("{ ")); - for (i=0;list && list[i];i++) { - DEBUG(0,("\"%s\", ", list[i])); - } - DEBUG(0,("}\n")); -} - - - /** append one list to another - expanding list1 this assumes the elements of list2 are const pointers, so we can re-use them diff --git a/lib/util/util_strlist.h b/lib/util/util_strlist.h index 5c3a7ee1f37..7baa63b58fe 100644 --- a/lib/util/util_strlist.h +++ b/lib/util/util_strlist.h @@ -118,12 +118,6 @@ const char **str_list_append(const char **list1, */ const char **str_list_unique(const char **list); -/* - very useful when debugging complex list related code - */ -void str_list_show(const char **list); - - /** append one list to another - expanding list1 this assumes the elements of list2 are const pointers, so we can re-use them