diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-01-19 12:38:03 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-01-19 12:38:03 +0100 |
commit | 2abe3ff9119b8167122f61a309d6f4971d37b9e0 (patch) | |
tree | e892086b024b03acdcc025a35b9cd03aca7c64be /lib | |
parent | 071561637a8dd3da640de612db44a5c11e62d8f5 (diff) | |
download | xdg-app-2abe3ff9119b8167122f61a309d6f4971d37b9e0.tar.gz |
Fix possible read of uninitialized variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xdg-app-installation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xdg-app-installation.c b/lib/xdg-app-installation.c index 56eda68..72d5724 100644 --- a/lib/xdg-app-installation.c +++ b/lib/xdg-app-installation.c @@ -797,7 +797,7 @@ xdg_app_installation_update (XdgAppInstallation *self, g_autoptr(OstreeAsyncProgress) ostree_progress = NULL; g_autofree char *remote_name = NULL; XdgAppInstalledRef *result = NULL; - gboolean was_updated; + gboolean was_updated = FALSE; g_auto(GLnxLockFile) lock = GLNX_LOCK_FILE_INIT; ref = xdg_app_compose_ref (kind == XDG_APP_REF_KIND_APP, name, branch, arch, error); |