[checkmk-commits] cppcheck-induced cleanup: Reduce scopes.