tests: [scan-build] Initialize a variable
False positive.
This commit is contained in:
parent
57bb06419a
commit
01a3a65525
|
|
@ -145,7 +145,7 @@ ot_test_setup_sysroot (GCancellable *cancellable,
|
||||||
|
|
||||||
g_autoptr(GString) buf = g_string_new ("mutable-deployments");
|
g_autoptr(GString) buf = g_string_new ("mutable-deployments");
|
||||||
|
|
||||||
gboolean can_relabel;
|
gboolean can_relabel = FALSE;
|
||||||
if (!ot_check_relabeling (&can_relabel, error))
|
if (!ot_check_relabeling (&can_relabel, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (!can_relabel)
|
if (!can_relabel)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue