Code

filelist: song must not be NULL
authorMax Kellermann <max@duempel.org>
Fri, 19 Sep 2008 12:42:09 +0000 (14:42 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 19 Sep 2008 12:42:09 +0000 (14:42 +0200)
commita2c8eb38d8b6bd615dfb9ce183730a4ebc0b6760
tree3d7d21a478c73db75b55f4b4e4f4fbaa4c8d2f56
parentb93a0bab1cfb0479c24963f649ae0de33b885289
filelist: song must not be NULL

A caller must not pass NULL to mpdclient_filelist_find_song().
Replace the check with an assertion.
src/filelist.c