mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 14:39:49 +00:00
trivial: Remove some logically dead code
This commit is contained in:
parent
d0c8514c52
commit
03d166158d
@ -324,10 +324,6 @@ fu_progressbar_update(FuProgressbar *self, FwupdStatus status, guint percentage)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* use cached value */
|
|
||||||
if (status == FWUPD_STATUS_UNKNOWN)
|
|
||||||
status = self->status;
|
|
||||||
|
|
||||||
if (!self->interactive) {
|
if (!self->interactive) {
|
||||||
g_print("%s: %u%%\n", fu_progressbar_status_to_string(status), percentage);
|
g_print("%s: %u%%\n", fu_progressbar_status_to_string(status), percentage);
|
||||||
self->status = status;
|
self->status = status;
|
||||||
|
Loading…
Reference in New Issue
Block a user