From: Bert Vermeulen Date: Wed, 20 Nov 2013 21:06:01 +0000 (+0100) Subject: Suppress compile warning X-Git-Tag: libsigrok-0.3.0~546 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c4650aca12630038fa034e2c0a2915073bdceedf;p=libsigrok.git Suppress compile warning --- 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.");