From ac3d44a1912795d06bcc2501741c9c3deaba8a0d Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Wed, 25 Mar 2015 15:29:56 -0700 Subject: Fix more splint: Line expects to suppress X errors, found 0 errors --- driver_evermore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'driver_evermore.c') 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, -- cgit v1.2.1