[Bug 37122] New: PVS-Studio Error: One counter for two loops