mirror of
https://git.proxmox.com/git/fwupd
synced 2025-04-30 18:31:48 +00:00
trivial: Fix warning: return after continue
This commit is contained in:
parent
9defbce2c7
commit
21e08ff483
@ -222,7 +222,9 @@ fu_usi_dock_mcu_device_enumerate_children(FuUsiDockMcuDevice *self, GError **err
|
|||||||
g_debug("ignoring %s --> %s", components[i].name, version);
|
g_debug("ignoring %s --> %s", components[i].name, version);
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
} else if (g_strcmp0(components[i].name, "DMC") == 0) {
|
}
|
||||||
|
|
||||||
|
if (g_strcmp0(components[i].name, "DMC") == 0) {
|
||||||
if ((val[2] == 0x00 && val[3] == 0x00 && val[4] == 0x00) ||
|
if ((val[2] == 0x00 && val[3] == 0x00 && val[4] == 0x00) ||
|
||||||
(val[2] == 0xFF && val[3] == 0xFF && val[4] == 0xFF)) {
|
(val[2] == 0xFF && val[3] == 0xFF && val[4] == 0xFF)) {
|
||||||
g_debug("ignoring %s", components[i].name);
|
g_debug("ignoring %s", components[i].name);
|
||||||
|
Loading…
Reference in New Issue
Block a user