Fix "anonymous function does not always return a value" warning
(introduced in a62a06974c16abab6601b5553c03a0ac1153d977 commit)