tree-wide: Squash some clang-analyzer found unused variables
We weren't using the return values, so just drop them.
This commit is contained in:
parent
4d2a6e6de0
commit
5cefee81ff
@ -3716,7 +3716,7 @@ apply_rpmfi_overrides (RpmOstreeContext *self,
|
||||
if (!get_package_metainfo (self, path, NULL, &fi, error))
|
||||
return FALSE;
|
||||
|
||||
while ((i = rpmfiNext (fi)) >= 0)
|
||||
while (rpmfiNext (fi) >= 0)
|
||||
{
|
||||
const char *fn = rpmfiFN (fi);
|
||||
const char *user = rpmfiFUser (fi) ?: "root";
|
||||
|
@ -169,7 +169,7 @@ rpmostree_importer_read_metainfo (int fd,
|
||||
goto out;
|
||||
}
|
||||
|
||||
if ((r = rpmReadPackageFile (ts, rpmfd, abspath, &ret_header)) != RPMRC_OK)
|
||||
if (rpmReadPackageFile (ts, rpmfd, abspath, &ret_header) != RPMRC_OK)
|
||||
{
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user