tests: [scan-build] Initialize a variable
False positive.
This commit is contained in:
1 parent
57bb06419a
commit
01a3a65525
1 file changed
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user