Scrutinizer Auto-Fixes

@prisis requested this pull request.

It consists of patches automatically generated for this project on Scrutinizer:
https://scrutinizer-ci.com/g/gwa/gwCache/