From a960fb12b7c84d6c23b4292fe5b7911424e05fec Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Fri, 9 Nov 2012 14:19:35 +0100 Subject: [PATCH] set the ndef_type to 0 --- tests/test_args_to_config.c | 2 +- ykpersonalize.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_args_to_config.c b/tests/test_args_to_config.c index 3fcf248..b129a48 100644 --- a/tests/test_args_to_config.c +++ b/tests/test_args_to_config.c @@ -114,7 +114,7 @@ int _test_config (YKP_CONFIG *cfg, YK_STATUS *st, int argc, char **argv) /* Options */ char *salt = NULL; char ndef[128]; - char ndef_type = NULL; + char ndef_type = 0; bool zap = false; int rc; diff --git a/ykpersonalize.c b/ykpersonalize.c index ae1e595..8d9ed42 100644 --- a/ykpersonalize.c +++ b/ykpersonalize.c @@ -66,7 +66,7 @@ int main(int argc, char **argv) /* Options */ char *salt = NULL; char ndef_string[128] = {0}; - char ndef_type; + char ndef_type = 0; bool zap = false; bool error = false; -- 2.39.5