]> git.sesse.net Git - vlc/blobdiff - src/text/unicode.c
us_strtod: do not make any kludgy assumptions about number formats
[vlc] / src / text / unicode.c
index 87e30ec47741d6b476d81ed4f6400dd05b7fb48b..16c5a5fcfb207be5812379713d05cfb089cc7bde 100644 (file)
@@ -165,6 +165,8 @@ static char *locale_fast (const char *string, bool from)
 
 static inline char *locale_dup (const char *string, bool from)
 {
+    assert( string );
+
 #if defined (USE_ICONV)
     if (find_charset ())
         return strdup (string);