summaryrefslogtreecommitdiff
path: root/driver_evermore.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-25 15:29:56 -0700
committerGary E. Miller <gem@rellim.com>2015-03-25 15:29:56 -0700
commitac3d44a1912795d06bcc2501741c9c3deaba8a0d (patch)
treef2318dfab56b6bab1364aab2a1f10eefd26c0537 /driver_evermore.c
parent2aef1774198f855bc300c4fd64098b5416e7c01f (diff)
downloadgpsd-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.c6
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,