mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-18 10:04:17 +03:00
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:
parent
ac8638f3e4
commit
37971a9d54
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user