mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 18:21:00 +00:00
trivial: Fix -Wunused-but-set-variable warning
This commit is contained in:
parent
b71968d348
commit
2d2bde2268
@ -321,7 +321,6 @@ fu_mbim_qdu_updater_file_open_ready(MbimDevice *device, GAsyncResult *res, gpoin
|
||||
{
|
||||
WriteContext *ctx = user_data;
|
||||
guint32 out_max_transfer_size;
|
||||
guint32 total_sending_numbers = 0;
|
||||
FuChunk *chk = NULL;
|
||||
g_autoptr(MbimMessage) request = NULL;
|
||||
g_autoptr(MbimMessage) response = NULL;
|
||||
@ -344,10 +343,6 @@ fu_mbim_qdu_updater_file_open_ready(MbimDevice *device, GAsyncResult *res, gpoin
|
||||
return;
|
||||
}
|
||||
|
||||
total_sending_numbers = g_bytes_get_size(ctx->blob) / out_max_transfer_size;
|
||||
if (g_bytes_get_size(ctx->blob) % out_max_transfer_size != 0)
|
||||
total_sending_numbers++;
|
||||
|
||||
ctx->chunks = fu_chunk_array_new_from_bytes(ctx->blob,
|
||||
0x00, /* start addr */
|
||||
0x00, /* page_sz */
|
||||
|
Loading…
Reference in New Issue
Block a user