If there's no way to disable this mistaken warning, I would prefer to see the right-brace moved to the next line.