]> git.sesse.net Git - vlc/commitdiff
Revert "Fixed warning for uninitialized variable"
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 12 Mar 2015 17:26:55 +0000 (18:26 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 12 Mar 2015 17:26:55 +0000 (18:26 +0100)
This reverts commit 14f739a56a0515da2905eb7f591fe9ad55f4a040.

src/text/strings.c

index 04005bc124857e3ecdf7fddb741111a04967cd9f..9cc150aee4a62a05253fb2977ea631cabfecd21f 100644 (file)
@@ -536,10 +536,8 @@ char *str_format_meta(input_thread_t *input, const char *s)
     FILE *stream = open_memstream(&str, &len);
 #elif defined( _WIN32 )
     FILE *stream = vlc_win32_tmpfile();
-    str = NULL;
 #else
     FILE *stream = tmpfile();
-    str = NULL;
 #endif
     if (stream == NULL)
         return NULL;