Fixed the return in a void function

Thanks to Arthur Marble <arthur@info9.net>
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745257