summaryrefslogtreecommitdiff
path: root/extra/usb_updater
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2016-10-26 12:30:08 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-16 19:04:33 -0800
commit0e0a9589ec81575ae377431e5f76b68780e0d9eb (patch)
tree7bc5ef5bb3103a90b2d1e26584b370f1fe4b0106 /extra/usb_updater
parentd961991d6793e6875541fd26e9f715d5a9a7da4e (diff)
downloadchrome-ec-0e0a9589ec81575ae377431e5f76b68780e0d9eb.tar.gz
upgrade_fw.c: Initialize variable before using it.
block offset was being used in a printf before it was being initialized. Initialize it earlier to fix the problem. This does not change the size of any ec.*.flat file. BRANCH=none BUG=none TEST=build succeeds under GCC 4.9.2, 5.3 and 6.2 Change-Id: I3233ca3b10d35a6f61036c2e30224dc3747618fd Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/403501 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'extra/usb_updater')
0 files changed, 0 insertions, 0 deletions