From 8e68f748c3df4a41f55f86cc455656964754addd Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 25 Jun 2012 18:22:20 -0400 Subject: [PATCH] secret-tool: Don't read uninitialized variable on error path --- tool/secret-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/secret-tool.c b/tool/secret-tool.c index 735da93..80226ce 100644 --- a/tool/secret-tool.c +++ b/tool/secret-tool.c @@ -189,7 +189,7 @@ secret_tool_action_lookup (int argc, GOptionContext *context; SecretService *service; GHashTable *attributes; - SecretValue *value; + SecretValue *value = NULL; context = g_option_context_new ("attribute value ..."); g_option_context_add_main_entries (context, LOOKUP_OPTIONS, GETTEXT_PACKAGE); -- 2.7.4