Fix Issue 7175 - Zero-length static array .ptr is always null
Merge pull request #2888 from yebblies/issue7175

Issue 7175 - Zero-length static array .ptr is always null