add static to kill pointless allocation
Merge pull request #625 from adamdruppe/bug_10323

add static to kill pointless allocation