Mercurial > audlegacy-plugins
changeset 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 | 21cff0510f38 |
children | cc6f02424609 4151640654ae |
files | src/sid/xmms-sid.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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;