From: Rafaël Carré Date: Tue, 30 Aug 2011 12:54:11 +0000 (-0400) Subject: Revert "FromLocaleDup(): accept NULL input (and return NULL)" X-Git-Tag: 1.2.0-pre1~959 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4df49b18119a41d2673866679d233334d597a4e9;p=vlc Revert "FromLocaleDup(): accept NULL input (and return NULL)" This reverts commit 3ab2f937b7f2dbd77e4cd161ef926ecb07dc147b. --- diff --git a/src/text/unicode.c b/src/text/unicode.c index 342037b594..50ffdb2e5a 100644 --- a/src/text/unicode.c +++ b/src/text/unicode.c @@ -90,9 +90,6 @@ char *FromLocale (const char *locale) */ char *FromLocaleDup (const char *locale) { - if (!locale) - return NULL; - #ifdef ASSUME_UTF8 return strdup (locale); #else