diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-25 15:29:56 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-25 15:29:56 -0700 |
commit | ac3d44a1912795d06bcc2501741c9c3deaba8a0d (patch) | |
tree | f2318dfab56b6bab1364aab2a1f10eefd26c0537 /driver_evermore.c | |
parent | 2aef1774198f855bc300c4fd64098b5416e7c01f (diff) | |
download | gpsd-ac3d44a1912795d06bcc2501741c9c3deaba8a0d.tar.gz |
Fix more splint: Line expects to suppress X errors, found 0 errors
Diffstat (limited to 'driver_evermore.c')
-rw-r--r-- | driver_evermore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_evermore.c b/driver_evermore.c index f7328182..c8bc090d 100644 --- a/driver_evermore.c +++ b/driver_evermore.c @@ -462,7 +462,7 @@ static bool evermore_protocol(struct gps_device_t *session, int protocol) /*@ -charint */ gpsd_log(&session->context->errout, LOG_PROG, "evermore_protocol(%d)\n", protocol); - /*@i1@*/ tmp8 = (protocol != 0) ? 1 : 0; + tmp8 = (protocol != 0) ? 1 : 0; /* NMEA : binary */ evrm_protocol_config[1] = tmp8; return (evermore_control_send @@ -493,10 +493,10 @@ static bool evermore_nmea_config(struct gps_device_t *session, int mode) /*@ -charint */ gpsd_log(&session->context->errout, LOG_PROG, "evermore_nmea_config(%d)\n", mode); - /*@i1@*/ tmp8 = (mode == 1) ? 5 : 1; + tmp8 = (mode == 1) ? 5 : 1; /* NMEA GPGSV, gpsd */ evrm_nmeaout_config[6] = tmp8; /* GPGSV, 1s or 5s */ - /*@i1@*/ tmp8 = (mode == 2) ? 1 : 0; + tmp8 = (mode == 2) ? 1 : 0; /* NMEA PEMT101 */ evrm_nmeaout_config[9] = tmp8; /* PEMT101, 1s or 0s */ return (evermore_control_send(session, (char *)evrm_nmeaout_config, |