fix warning about function terminating with no return call

I noticed this warning.  Here's a fix.