diff options
author | Colin Walters <walters@verbum.org> | 2012-06-25 18:22:20 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-06-25 18:22:20 -0400 |
commit | 8e68f748c3df4a41f55f86cc455656964754addd (patch) | |
tree | 2be741d9ed313624c9a2a38890b75a2e2033dd16 /tool | |
parent | 26326a7c8b6700bd36404691a2901030a3005a51 (diff) | |
download | libsecret-8e68f748c3df4a41f55f86cc455656964754addd.tar.gz |
secret-tool: Don't read uninitialized variable on error path
Diffstat (limited to 'tool')
-rw-r--r-- | tool/secret-tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |