]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Remove unused str_list_show
authorVolker Lendecke <vl@samba.org>
Mon, 26 Jan 2026 12:00:11 +0000 (13:00 +0100)
committerAnoop C S <anoopcs@samba.org>
Sun, 15 Feb 2026 10:42:34 +0000 (10:42 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
lib/util/util_strlist.c
lib/util/util_strlist.h

index e10200260fdaa1e1366022d7f4cd0adaae77bee8..ba51e5c0a4fd1e2bb6076f3e0cd04baf3226ae4e 100644 (file)
@@ -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
index 5c3a7ee1f378cad16da167301806edc251e3ff34..7baa63b58fe5ce2d6ff6dece67733039941cb0f5 100644 (file)
@@ -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