diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2016-12-13 15:55:26 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-12-14 18:03:13 +0100 |
commit | 4134680d465b6d33e6f3e3519a137fffd26541e1 (patch) | |
tree | 58c3b562293b048a286e9425700d582180e262da /gnat.adc | |
parent | 5250852b0f5b789f610ffe6e460e57e16c39e04c (diff) |
libpayload/drivers/video: Improve check in if condition
Coverity considers this a copy&paste error, and maybe it is. In any
case, it makes sense to check the variable that (if the condition is
true) is changed, and the values are the same before that test, so the
change is harmless.
Change-Id: I163c6a9f5baa05e715861dc19643b19a9c79c883
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Found-by: Coverity Scan #1347376
Reviewed-on: https://review.coreboot.org/17837
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'gnat.adc')
0 files changed, 0 insertions, 0 deletions