summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2019-09-02 15:04:36 +0200
committerCommit Bot <commit-bot@chromium.org>2019-09-04 11:53:27 +0000
commitb677e67afb50e67fa30cb7673a7bb5947c54ce57 (patch)
tree3cec64ac4a01097a9b3e352ab2ff3d5e2ed54ef2 /util
parenta03de29ec11e96b0bec6104689002e15ccb9add5 (diff)
downloadchrome-ec-b677e67afb50e67fa30cb7673a7bb5947c54ce57.tar.gz
driver/wpc/p9221: Avoiding using uninitialized variable
For this, restrict the variables' scope and move the print statements closer to the other variable use. Found by Coverity Scan #198955, #198960 BUG=none BRANCH=none TEST=none Change-Id: I947249e4fd36524de5065616d5bcd32203d8b7e4 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1781469 Tested-by: Patrick Georgi <pgeorgi@chromium.org> Commit-Queue: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions