mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-09 13:57:52 +03:00
sysroot: Quiet one gcc -fanalyzer
warning
I don't think this can happen in practice, but add an assertion to verify it.
This commit is contained in:
parent
39a953dfa5
commit
e27fed45fd
@ -1896,6 +1896,7 @@ ostree_sysroot_simple_write_deployment (OstreeSysroot *sysroot,
|
||||
/* tracks when we come across the booted deployment */
|
||||
gboolean before_booted = TRUE;
|
||||
gboolean before_merge = TRUE;
|
||||
g_assert (deployments);
|
||||
for (guint i = 0; i < deployments->len; i++)
|
||||
{
|
||||
OstreeDeployment *deployment = deployments->pdata[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user