summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-08-08 12:07:54 -0700
committerJeremy Allison <jra@samba.org>2012-08-09 09:47:35 -0700
commitb6eb3a68088a20fba4819064699abdddfd594a4d (patch)
tree99a082f0d4049129dc7a0bf9253b3e808e1bdbee /source3/lib
parent8605b35e8824bf30633d47333df3720f9ff4dbaa (diff)
downloadsamba-b6eb3a68088a20fba4819064699abdddfd594a4d.tar.gz
samba-b6eb3a68088a20fba4819064699abdddfd594a4d.tar.bz2
samba-b6eb3a68088a20fba4819064699abdddfd594a4d.zip
Prepare to remove smb_panic() from unix_strlower().
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 55e4b3f5ff..901d5ae9f1 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -415,6 +415,8 @@ static bool unix_strlower(const char *src, size_t srclen, char *dest, size_t des
(void **)(void *)&buffer, &size))
{
smb_panic("failed to create UCS2 buffer");
+ /* NOTREACHED. Yet. */
+ return false;
}
if (!strlower_w(buffer) && (dest == src)) {
TALLOC_FREE(buffer);