diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-04 05:41:06 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-04 05:41:06 -0400 |
commit | ad998e6102083af080d9208da4eb48700db8ad31 (patch) | |
tree | 1a9cabeb9a8c21f50e0beb018cb17054d5a091fa /driver_garmin.c | |
parent | ce749c186c457a8562f15cb3cb14c8b0cabc8640 (diff) | |
download | gpsd-ad998e6102083af080d9208da4eb48700db8ad31.tar.gz |
splint cleanup.
Diffstat (limited to 'driver_garmin.c')
-rw-r--r-- | driver_garmin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_garmin.c b/driver_garmin.c index 13f5b637..e2221abb 100644 --- a/driver_garmin.c +++ b/driver_garmin.c @@ -812,7 +812,7 @@ static void Build_Send_SER_Packet(struct gps_device_t *session, } -#if defined(HAVE_LIBUSB) || defined(S_SPLINT_S) +#if defined(HAVE_LIBUSB) /* * is_usb_device() - is a specified device USB matching given vendor/product? * @@ -872,7 +872,7 @@ static bool is_usb_device(const char *path UNUSED, int vendor, int product) } /*@-compdef -usedef -nullpass@*/ -#endif /* HAVE_LIBUSB || S_SPLINT_S */ +#endif /* HAVE_LIBUSB */ /* * garmin_usb_detect() - detect a Garmin USB device connected to session fd. @@ -917,7 +917,7 @@ static bool garmin_usb_detect(struct gps_device_t *session UNUSED) #else return false; #endif /* HAVE_LIBUSB */ - + /*@-unreachable@*/ if (!gpsd_set_raw(session)) { gpsd_report(LOG_ERROR, "Garmin: garmin_usb_detect: error changing port attributes: %s\n", |