changeset 33425:15659ae10207

Simplify NULL check.
author reimar
date Sun, 29 May 2011 11:41:40 +0000
parents 3b95353bb7f9
children fe99e2d4ffb1
files stream/stream_cue.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_cue.c	Sun May 29 11:39:25 2011 +0000
+++ b/stream/stream_cue.c	Sun May 29 11:41:40 2011 +0000
@@ -320,7 +320,7 @@
   /* split the filename into a path and filename part */
   s = strdup(in_cue_filename);
   t = strrchr(s, '/');
-  if (t == (char *)NULL)
+  if (!t)
      t = ".";
   else {
      *t = '\0';