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:
parent
aefa1ca249
commit
9032182e3c
|
|
@ -4197,7 +4197,7 @@ ostree_repo_has_object (OstreeRepo *self,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret_have_object;
|
gboolean ret_have_object = FALSE;
|
||||||
|
|
||||||
if (!_ostree_repo_has_loose_object (self, checksum, objtype, &ret_have_object,
|
if (!_ostree_repo_has_loose_object (self, checksum, objtype, &ret_have_object,
|
||||||
cancellable, error))
|
cancellable, error))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue