Merge pull request #1943 from cgwalters/more-scan-build
More scan build
This commit is contained in:
6 files changed
+9
-9
No files matched your search
@@ -313,6 +313,7 @@ cleanup_old_deployments (OstreeSysroot *self,
|
||||
if (!list_all_deployment_directories (self, &all_deployment_dirs,
|
||||
cancellable, error))
|
||||
return FALSE;
|
||||
g_assert (all_deployment_dirs); /* Pacify static analysis */
|
||||
for (guint i = 0; i < all_deployment_dirs->len; i++)
|
||||
{
|
||||
OstreeDeployment *deployment = all_deployment_dirs->pdata[i];
|
||||
|
||||
@@ -945,6 +945,7 @@ ostree_sysroot_load_if_changed (OstreeSysroot *self,
|
||||
|
||||
g_autoptr(GPtrArray) deployments = g_ptr_array_new_with_free_func ((GDestroyNotify)g_object_unref);
|
||||
|
||||
g_assert (boot_loader_configs); /* Pacify static analysis */
|
||||
for (guint i = 0; i < boot_loader_configs->len; i++)
|
||||
{
|
||||
OstreeBootconfigParser *config = boot_loader_configs->pdata[i];
|
||||
|
||||
Reference in new issue
Block a user