diff --git a/hardware/common/serial.c b/hardware/common/serial.c index de7f583d..71344b1c 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -226,7 +226,7 @@ SR_PRIV int serial_read(struct sr_serial_dev_inst *serial, void *buf, size_t count) { ssize_t ret; - char *error; + //char *error; if (!serial) { sr_dbg("Invalid serial port.");