summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index dc9dbd8ed7..4c17d1f08b 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -243,7 +243,6 @@ BOOL strisnormal(char *s)
****************************************************************************/
void string_replace(char *s,char oldc,char newc)
{
- smb_ucs2_t *ptr;
push_ucs2(NULL, tmpbuf,s, sizeof(tmpbuf), STR_TERMINATE);
string_replace_w(tmpbuf, UCS2_CHAR(oldc), UCS2_CHAR(newc));
pull_ucs2(NULL, s, tmpbuf, -1, sizeof(tmpbuf), STR_TERMINATE);