Fix warning semantics