[vlc-devel] commit: Remove useless (and slightly wrong) cast ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jan 16 10:44:04 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 16 11:28:50 2010 +0200| [9186a2f0cd21bd7874361a2a9c376d7d69e5af07] | committer: Rémi Denis-Courmont
Remove useless (and slightly wrong) cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9186a2f0cd21bd7874361a2a9c376d7d69e5af07
---
src/input/input.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index cbd208b..0f09556 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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;
}
More information about the vlc-devel
mailing list