summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util_str.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index c302851335c..aa77d75ad33 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -414,8 +414,6 @@ static bool unix_strlower(const char *src, size_t srclen, char *dest, size_t des
if (!convert_string_talloc(talloc_tos(), CH_UNIX, CH_UTF16LE, src, srclen,
(void **)(void *)&buffer, &size))
{
- smb_panic("failed to create UCS2 buffer");
- /* NOTREACHED. Yet. */
return false;
}
if (!strlower_w(buffer) && (dest == src)) {