]> git.sesse.net Git - vlc/commitdiff
Fix compiler warning
authorJean-Paul Saman <jpsaman@videolan.org>
Sat, 10 Mar 2007 15:58:36 +0000 (15:58 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 10 Mar 2007 15:58:36 +0000 (15:58 +0000)
src/misc/configuration.c

index 2d8717abc34e4a5530505fd812d733d28a3c4b9d..e889cb45a496fd1f2f46bae2d0c9bec9ce0ccd4c 100644 (file)
@@ -1535,8 +1535,7 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[],
                                 "You should use --%s instead.\n",
                                 p_conf->psz_name, p_conf->psz_current);
                     }
                                 "You should use --%s instead.\n",
                                 p_conf->psz_name, p_conf->psz_current);
                     }
-                    //*psz_name = *(p_conf->psz_current);
-                    psz_name = p_conf->psz_current;
+                    *psz_name = *(p_conf->psz_current);
                     p_conf = config_FindConfig( p_this, psz_name );
                 }
 
                     p_conf = config_FindConfig( p_this, psz_name );
                 }