Fixes Issue 6089 - extern variable should not have an initializer.
Merge pull request #1762 from AndrejMitrovic/Fix6089

Issue 6089 - extern variable should not have an initializer.