Fix dead assignment librz/io/p/io_rzk_linux.c

This commit is contained in:
Alexis Ehret 2021-02-07 18:20:02 +01:00 committed by Riccardo Schirone
parent c20f4792c8
commit f246a305be

View file

@ -574,7 +574,7 @@ int run_old_command(RzIO *io, RzIODesc *iodesc, const char *buf) {
memcpy(databuf, buf, strlen(buf) + 1);
len = rz_str_unescape((char *)databuf);
}
ret = WriteMemory(io, iodesc, ioctl_n, pid, addr, (const ut8 *)databuf, len);
WriteMemory(io, iodesc, ioctl_n, pid, addr, (const ut8 *)databuf, len);
} else {
eprintf("Failed to allocate buffer.\n");
}