diff --git a/panda/src/pgui/pgItem.cxx b/panda/src/pgui/pgItem.cxx index 877c75c2f7..b9ef430e0b 100644 --- a/panda/src/pgui/pgItem.cxx +++ b/panda/src/pgui/pgItem.cxx @@ -580,7 +580,6 @@ play_sound(const string &event) { AudioSound *sound = (*si).second; sound->play(); } - return (AudioSound *)NULL; #endif // HAVE_AUDIO }