git.samba.org
/
jra
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove two unused variables
[jra/samba/.git]
/
lib
/
util
/
util_strlist.c
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)
{
*/
_PUBLIC_ char **str_list_make_empty(TALLOC_CTX *mem_ctx)
{
- int num_elements = 0;
char **ret = NULL;
ret = talloc_array(mem_ctx, char *, 1);
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)
{
*/
_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);
char **ret = NULL;
ret = talloc_array(mem_ctx, char *, 2);