diff options
Diffstat (limited to 'source4/lib/util_str.c')
-rw-r--r-- | source4/lib/util_str.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/lib/util_str.c b/source4/lib/util_str.c index 19857cff86..f689ae4355 100644 --- a/source4/lib/util_str.c +++ b/source4/lib/util_str.c @@ -651,11 +651,8 @@ BOOL in_list(const char *s, const char *list, BOOL casesensitive) **/ static BOOL string_init(char **dest,const char *src) { - size_t l; if (!src) src = ""; - l = strlen(src); - (*dest) = strdup(src); if ((*dest) == NULL) { DEBUG(0,("Out of memory in string_init\n")); |