diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2022-09-09 14:35:48 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-09 22:49:03 +0000 |
commit | 0ddf22992c6440a4c3127c9de59716b3c7c7f31d (patch) | |
tree | 937bd71bc751f94040870dc29e7150c24ab526e5 /extra/usb_updater/gsctool.c | |
parent | f6b4581c17e4ce2132cb04d4180c326d628b7426 (diff) | |
download | chrome-ec-0ddf22992c6440a4c3127c9de59716b3c7c7f31d.tar.gz |
gsctool: cosmetic changes to pacify pre-upload checks
The 'All right reserved' line is not needed in the header any more.
Also fixing compiler warning about potentially unassigned variable
uses. Those warnings are false positives, but it is better to keep the
compiler happy.
BUG=none
TEST=none
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Change-Id: If9f4baaad2c837101ca3d69e85e9998bef194fc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3887969
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'extra/usb_updater/gsctool.c')
-rw-r--r-- | extra/usb_updater/gsctool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/usb_updater/gsctool.c b/extra/usb_updater/gsctool.c index f40bf25da2..d65f1b9699 100644 --- a/extra/usb_updater/gsctool.c +++ b/extra/usb_updater/gsctool.c @@ -1,5 +1,5 @@ /* - * Copyright 2015 The Chromium OS Authors. All rights reserved. + * Copyright 2015 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -3134,7 +3134,7 @@ int main(int argc, char *argv[]) int binary_vers = 0; int show_fw_ver = 0; int rma = 0; - const char *rma_auth_code; + const char *rma_auth_code = ""; int get_endorsement_seed = 0; const char *endorsement_seed_str; int corrupt_inactive_rw = 0; @@ -3168,7 +3168,7 @@ int main(int argc, char *argv[]) int sn_bits = 0; uint8_t sn_bits_arg[SN_BITS_SIZE]; int sn_inc_rma = 0; - uint8_t sn_inc_rma_arg; + uint8_t sn_inc_rma_arg = 0; int erase_ap_ro_hash = 0; int is_dauntless = 0; |