Remove useless (and slightly wrong) cast
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 16 Jan 2010 09:28:50 +0000 (11:28 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 16 Jan 2010 09:28:50 +0000 (11:28 +0200)
src/input/input.c

index cbd208b..0f09556 100644 (file)
@@ -3117,8 +3117,8 @@ void input_SplitMRL( const char **ppsz_access, const char **ppsz_demux, char **p
     {
         psz_path = psz_dup;
     }
-    *ppsz_access = psz_access ? psz_access : (char*)"";
-    *ppsz_demux = psz_demux ? psz_demux : (char*)"";
+    *ppsz_access = psz_access ? psz_access : "";
+    *ppsz_demux = psz_demux ? psz_demux : "";
     *ppsz_path = psz_path;
 }