]> sigrok.org Git - libserialport.git/commit
Fix two compiler warnings on platforms without enumeration support.
authorUwe Hermann <redacted>
Fri, 3 Apr 2015 20:03:26 +0000 (22:03 +0200)
committerUwe Hermann <redacted>
Fri, 3 Apr 2015 20:11:07 +0000 (22:11 +0200)
commit23e7fa372a0a48d8f764de93d485af4c1316b124
tree0184670b901dd65b219d5c6841910a32209f66f2
parentac323d80e0baaf6968c316dbcb2e5ffe4739cb2e
Fix two compiler warnings on platforms without enumeration support.

  serialport.c: In function 'sp_list_ports':
  serialport.c:326:6: warning: unused variable 'ret' [-Wunused-variable]
    int ret;
        ^
  serialport.c:325:19: warning: unused variable 'list' [-Wunused-variable]
    struct sp_port **list;
                     ^
serialport.c