]> sigrok.org Git - libsigrok.git/commitdiff
Suppress compile warning
authorBert Vermeulen <redacted>
Wed, 20 Nov 2013 21:06:01 +0000 (22:06 +0100)
committerBert Vermeulen <redacted>
Wed, 20 Nov 2013 21:06:01 +0000 (22:06 +0100)
hardware/common/serial.c

index de7f583dad022022cc521ea95a9342b7c1616bb4..71344b1c8eea8976e7e1f36393ab7f90e8163f64 100644 (file)
@@ -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.");