Add warning for C89-style variable declarations
Merge pull request #1727 from bggd/patch-2

Add warning for C89-style variable declarations