don't warn on empty block if it's a function body (issue #169)