diff options
Diffstat (limited to 'commands/keystore.c')
-rw-r--r-- | commands/keystore.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/keystore.c b/commands/keystore.c index 4f6a7ef190..40bcb7105d 100644 --- a/commands/keystore.c +++ b/commands/keystore.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <getopt.h> @@ -15,7 +17,7 @@ static int do_keystore(int argc, char *argv[]) const char *file = NULL; char *secret_str = NULL; void *secret; - size_t s_len; + size_t s_len = 0; while ((opt = getopt(argc, argv, "rs:f:")) > 0) { switch (opt) { |