Mercurial > audlegacy-plugins
diff src/sid/xmms-sid.c @ 2814:a03d670e8752
Add != NULL to assert (NULL can be (void*)-1 on some systems).
author | Jonathan Schleifer <js-audacious@webkeks.org> |
---|---|
date | Sat, 12 Jul 2008 16:00:03 +0200 |
parents | 86bfc1159197 |
children |
line wrap: on
line diff
--- a/src/sid/xmms-sid.c Sat Jul 12 15:39:36 2008 +0200 +++ b/src/sid/xmms-sid.c Sat Jul 12 16:00:03 2008 +0200 @@ -292,7 +292,7 @@ Tuple *tmpTuple; assert(pb); - assert(xs_status.sidPlayer); + assert(xs_status.sidPlayer != NULL); XSDEBUG("play '%s'\n", pb->filename); @@ -683,7 +683,7 @@ xs_tuneinfo_t *tmpInfo; gint tmpTune; - assert(xs_status.sidPlayer); + assert(xs_status.sidPlayer != NULL); if (filename == NULL) return NULL;