status: Fix build without GPGME

If OSTREE_DISABLE_GPGME is not built in set remote to NULL.

The ostree_repo_signature_verify_commit_data path is irrelevant in the
no gpg case anyway. Having this set as NULL ensures an error gets
thrown early.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
This commit is contained in:
Eric Curtin 2024-01-05 14:39:46 +00:00
parent ac8638f3e4
commit 37971a9d54

View File

@ -152,6 +152,8 @@ deployment_print_status (OstreeSysroot *sysroot, OstreeRepo *repo, OstreeDeploym
g_print ("%s", output_buffer->str);
}
#else
g_autofree char *remote = NULL;
#endif /* OSTREE_DISABLE_GPGME */
if (opt_verify)
{