lib/deploy: Initialize var to pacify gcc static analysis

Classic case of analysis getting confused by variables initialized by
a function.
This commit is contained in:
Jonathan Lebon 2023-05-27 10:27:55 -04:00
parent 50790b285e
commit 632ffa4302

View File

@ -2534,7 +2534,7 @@ auto_early_prune_old_deployments (OstreeSysroot *self, GPtrArray *new_deployment
continue;
}
guint64 bootdir_size;
guint64 bootdir_size = 0;
if (!get_kernel_layout_size (self, deployment, &bootdir_size, cancellable, error))
return FALSE;