git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdb499
)
Remove two unused variables
author
Volker Lendecke
<vl@samba.org>
Thu, 14 May 2009 13:39:52 +0000
(15:39 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 14 May 2009 13:40:57 +0000
(15:40 +0200)
lib/util/util_strlist.c
patch
|
blob
|
history
diff --git
a/lib/util/util_strlist.c
b/lib/util/util_strlist.c
index 2fcbe186be081ec3b2b940b73673a72fcf828d88..844e8f25dca1e878822266a81656c6e01e1321f2 100644
(file)
--- 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);