mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
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:
parent
50790b285e
commit
632ffa4302
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user