mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
secret-tool: Don't read uninitialized variable on error path
This commit is contained in:
parent
26326a7c8b
commit
8e68f748c3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user