[vlc-commits] Revert "Fixed warning for uninitialized variable"

Jean-Baptiste Kempf git at videolan.org
Thu Mar 12 18:55:46 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Mar 12 18:26:55 2015 +0100| [454c6cf0e891b042636854ca7fa05ca670cf777e] | committer: Jean-Baptiste Kempf

Revert "Fixed warning for uninitialized variable"

This reverts commit 14f739a56a0515da2905eb7f591fe9ad55f4a040.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=454c6cf0e891b042636854ca7fa05ca670cf777e
---

 src/text/strings.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/text/strings.c b/src/text/strings.c
index 04005bc..9cc150a 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -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;



More information about the vlc-commits mailing list