diff options
author | Jeremy Allison <jra@samba.org> | 2012-08-08 12:07:54 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-08-09 09:47:35 -0700 |
commit | b6eb3a68088a20fba4819064699abdddfd594a4d (patch) | |
tree | 99a082f0d4049129dc7a0bf9253b3e808e1bdbee | |
parent | 8605b35e8824bf30633d47333df3720f9ff4dbaa (diff) | |
download | samba-b6eb3a68088a20fba4819064699abdddfd594a4d.tar.gz samba-b6eb3a68088a20fba4819064699abdddfd594a4d.tar.bz2 samba-b6eb3a68088a20fba4819064699abdddfd594a4d.zip |
Prepare to remove smb_panic() from unix_strlower().
-rw-r--r-- | source3/lib/util_str.c | 2 |
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); |