don't warn on empty block if it's a function body
Merge pull request #174 from lahmatiy/issue-169

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