summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util/util_strlist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/util/util_strlist.c b/lib/util/util_strlist.c
index 2fcbe186be..844e8f25dc 100644
--- a/lib/util/util_strlist.c
+++ b/lib/util/util_strlist.c
@@ -33,7 +33,6 @@
*/
_PUBLIC_ char **str_list_make_empty(TALLOC_CTX *mem_ctx)
{
- int num_elements = 0;
char **ret = NULL;
ret = talloc_array(mem_ctx, char *, 1);
@@ -51,7 +50,6 @@ _PUBLIC_ char **str_list_make_empty(TALLOC_CTX *mem_ctx)
*/
_PUBLIC_ char **str_list_make_single(TALLOC_CTX *mem_ctx, const char *entry)
{
- int num_elements = 0;
char **ret = NULL;
ret = talloc_array(mem_ctx, char *, 2);