Merge pull request #3341 from stewid/pedantic-compiler-warning Remove extra semicolon outside of a function