]> sigrok.org Git - libsigrok.git/commit
Fix two warnings when libserialport is not used.
authorUwe Hermann <redacted>
Sat, 17 Jan 2015 20:47:59 +0000 (21:47 +0100)
committerUwe Hermann <redacted>
Sat, 17 Jan 2015 20:47:59 +0000 (21:47 +0100)
commit718a9d382ff03857105c737526effbc0d097349c
treeb7054b6a0b185f25378401cfff1b9a5925291fde
parent0959ed3d028d1110d36f2c67840872c2ebc54e36
Fix two warnings when libserialport is not used.

    CC       src/fallback.lo
  src/fallback.c: In function 'sr_serial_list':
  src/fallback.c:26:59: warning: unused parameter 'driver' [-Wunused-parameter]
   SR_API GSList *sr_serial_list(const struct sr_dev_driver *driver)
                                                             ^
  src/fallback.c: In function 'sr_serial_free':
  src/fallback.c:31:51: warning: unused parameter 'serial' [-Wunused-parameter]
   SR_API void sr_serial_free(struct sr_serial_port *serial)
src/fallback.c