mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2025-01-18 23:14:02 +01:00
remove spurious warning
This commit is contained in:
parent
4c746df6a8
commit
8ed7d6db71
@ -142,11 +142,6 @@ bool p4io_usb_transfer(
|
||||
}
|
||||
|
||||
if(bytes_xferred >= sizeof(struct p4io_cmd_header)) {
|
||||
if(*resp_payload_len < cmd_buf.header.payload_len) {
|
||||
log_warning("Response buffer too short");
|
||||
return false;
|
||||
}
|
||||
|
||||
memcpy(resp_payload, cmd_buf.payload, *resp_payload_len);
|
||||
*resp_payload_len = cmd_buf.header.payload_len;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user