trivial: Do not inform if no fwupd::ReleaseFlags were set

This is never set in the AppStream metadata, and means that every call to
fu_engine_ensure_device_supported() at startup does not generate 16x debugs.

For cab archives we know if the archive was unsigned as we show the flags in
the to_string() output.
This commit is contained in:
Richard Hughes 2020-10-01 13:41:24 +01:00
parent e9ada9ed72
commit 61a2dbad13

View File

@ -30,10 +30,8 @@ fu_keyring_get_release_flags (XbNode *release,
GBytes *blob;
blob = g_object_get_data (G_OBJECT (release), "fwupd::ReleaseFlags");
if (blob == NULL) {
g_debug ("no fwupd::ReleaseFlags set by loader");
if (blob == NULL)
return TRUE;
}
if (g_bytes_get_size (blob) != sizeof(FwupdReleaseFlags)) {
g_set_error_literal (error,
FWUPD_ERROR,