mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 02:54:45 +00:00
trivial: Fix a NULL/FALSE confusion
This commit is contained in:
parent
c41a89b50c
commit
83cce1bdfa
@ -213,7 +213,7 @@ fu_main_device_array_to_variant (FuMainPrivate *priv, const gchar *sender,
|
||||
g_variant_builder_init (&builder, G_VARIANT_TYPE_ARRAY);
|
||||
|
||||
if (!fu_main_get_device_flags_for_sender (priv, sender, &flags, error))
|
||||
return FALSE;
|
||||
return NULL;
|
||||
|
||||
for (guint i = 0; i < devices->len; i++) {
|
||||
FuDevice *device = g_ptr_array_index (devices, i);
|
||||
|
Loading…
Reference in New Issue
Block a user