trivial: Fix an impossible-to-hit read of undefined data

This commit is contained in:
Richard Hughes 2022-12-15 11:52:48 +00:00
parent f3a541bf91
commit 5bbcd8703b

View File

@ -4813,7 +4813,7 @@ fu_engine_get_details_for_bytes(FuEngine *self,
GBytes *blob,
GError **error)
{
const gchar *remote_id;
const gchar *remote_id = NULL;
GChecksumType checksum_types[] = {G_CHECKSUM_SHA256, G_CHECKSUM_SHA1, 0};
g_autoptr(GError) error_local = NULL;
g_autoptr(GPtrArray) components = NULL;