summaryrefslogtreecommitdiff
path: root/lib/util/util_strlist.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-14 15:39:52 +0200
committerVolker Lendecke <vl@samba.org>2009-05-14 15:40:57 +0200
commit074890b39ea372a9559a4b040c15654829608ea2 (patch)
treeefe74b0e09c889a8c9e241d4fa4877dbb29e8055 /lib/util/util_strlist.c
parent8fdb499497f8d4f4a1ca93ffc94de8b57c2c1568 (diff)
downloadsamba-074890b39ea372a9559a4b040c15654829608ea2.tar.gz
samba-074890b39ea372a9559a4b040c15654829608ea2.tar.bz2
samba-074890b39ea372a9559a4b040c15654829608ea2.zip
Remove two unused variables
Diffstat (limited to 'lib/util/util_strlist.c')
-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);