summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-13 03:30:05 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-13 03:30:05 +0000
commit00cd07ffcaa670709bc492e01d5c97be0262580b (patch)
tree4f21deae21586a533b279d272d74af3a0899b5e1 /gpsmon.c
parentbff151b7897e75612f871d44087c6f90cf412b52 (diff)
downloadgpsd-00cd07ffcaa670709bc492e01d5c97be0262580b.tar.gz
Merge the configurator and probe_subtype methods.
They're now distinguished by an event argument passed to the common hook function. This is a refactoring step - later, we'll define more and different events for finer-grained control. All regression tests pass.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 738d09e3..5d92ea8d 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -842,7 +842,7 @@ int main (int argc, char **argv)
} else if (matchcount == 1) {
assert(forcetype != NULL);
if (switch_type(forcetype))
- (int)gpsd_switch_driver(&session, forcetype->type_name);
+ (void)gpsd_switch_driver(&session, forcetype->type_name);
} else {
monitor_complain("Multiple driver type names match '%s'.", arg);
}