From c91cf90968ed5472a5ae44719f9b972a5631281d Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Mon, 3 Mar 2014 11:46:56 +0100 Subject: [PATCH] make sure that keylocation is initialized in the tests --- tests/test_args_to_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_args_to_config.c b/tests/test_args_to_config.c index 4dd9228..5581a9f 100644 --- a/tests/test_args_to_config.c +++ b/tests/test_args_to_config.c @@ -106,7 +106,7 @@ static int _test_config (YKP_CONFIG *cfg, YK_STATUS *st, int argc, const char ** const char *outfname = NULL; bool verbose = false; bool dry_run = false; - char keylocation; + char keylocation = 0; bool use_access_code = false; unsigned char access_code[256]; YK_KEY *yk = 0; @@ -295,7 +295,7 @@ static void _test_non_config_args(void) const char *outfname = NULL; bool verbose = false; bool dry_run = false; - char keylocation; + char keylocation = 0; bool use_access_code = false; unsigned char access_code[256]; YK_KEY *yk = 0; -- 2.39.5