Fixing warning logic.
Fixing warning logic.

RELNOTES: n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=248534096

lucidsoftware/closure-library,google/closure-library,lucidsoftware/closure-library,lucidsoftware/closure-library,google/closure-library,google/closure-library,google/closure-library,lucidsoftware/closure-library,google/closure-library