repo: [scan-build] Initialize a variable

Another GLib error convention issue; but eh, we might as
well be conservative and always initialize variables.
This commit is contained in:
Colin Walters committed 2019-10-15 12:41:27 +00:00
1 parent aefa1ca249
commit 9032182e3c
1 file changed
+1 -1
+1 -1
View File
@@ -4197,7 +4197,7 @@ ostree_repo_has_object (OstreeRepo *self,
GCancellable *cancellable,
GError **error)
{
gboolean ret_have_object;
gboolean ret_have_object = FALSE;
if (!_ostree_repo_has_loose_object (self, checksum, objtype, &ret_have_object,
cancellable, error))