[Bug 37119] PVS-Studio Error: Cascade of conditional operators