]> git.sesse.net Git - vlc/commitdiff
Fix warnings
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 2 Sep 2007 07:30:43 +0000 (07:30 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 2 Sep 2007 07:30:43 +0000 (07:30 +0000)
modules/gui/qt4/dialogs_provider.cpp

index 2490408933a0bd1984e5728d616f174d4d3a2725..209cea7d6a63453fc63d172c3e647286d33a02b5 100644 (file)
@@ -355,8 +355,9 @@ void DialogsProvider::savePlaylist()
     {
         if( qfd->selectedFiles().count() > 0 )
         {
-            char *psz_module, *psz_m3u = "export-m3u",
-                 *psz_xspf = "export-xspf";
+            static const char psz_xspf[] = "export-xspf",
+                              psz_m3u[] = "esport-m3u";
+            const char *psz_module;
 
             QString file = qfd->selectedFiles().first();
             QString filter = qfd->selectedFilter();