From 335cdf9a347d5e11e55a3d847268b5f26a20deba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> Date: Sun, 8 Jul 2018 08:31:28 +0200 Subject: [PATCH] phosh: properly initialize lock variable --- src/phosh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phosh.c b/src/phosh.c index bbd9653..7f5115c 100644 --- a/src/phosh.c +++ b/src/phosh.c @@ -950,7 +950,7 @@ int main(int argc, char *argv[]) GMainContext *context; GOptionContext *opt_context; GError *err = NULL; - gboolean unlocked; + gboolean unlocked = FALSE; const GOptionEntry options [] = { {"unlocked", 'U', 0, G_OPTION_ARG_NONE, &unlocked, -- GitLab