diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-30 07:51:28 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-30 07:51:28 -0400 |
commit | 4918b2e5357c3b8f01a8af2a64e5af7d11befb4e (patch) | |
tree | 3bbe12c86d18e7608916ec6c83f5993fdcb34ad5 /monitor_nmea.c | |
parent | 00d30e50601529a72d22ecc3183d18e1847f096b (diff) | |
download | gpsd-4918b2e5357c3b8f01a8af2a64e5af7d11befb4e.tar.gz |
Clean up more scan-build warnings, from the raw logs this time.
Diffstat (limited to 'monitor_nmea.c')
-rw-r--r-- | monitor_nmea.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/monitor_nmea.c b/monitor_nmea.c index dcfb6e72..05736f12 100644 --- a/monitor_nmea.c +++ b/monitor_nmea.c @@ -42,19 +42,19 @@ static bool nmea_initialize(void) cookedwin = derwin(devicewin, 3, 80, 0, 0); (void)wborder(cookedwin, 0, 0, 0, 0, 0, 0, 0, 0); (void)syncok(cookedwin, true); - wattrset(cookedwin, A_BOLD); - mvwaddstr(cookedwin, 1, 1, "Time: "); - mvwaddstr(cookedwin, 1, 31, "Lat: "); - mvwaddstr(cookedwin, 1, 55, "Lon: "); - mvwaddstr(cookedwin, 2, 34, " Cooked PVT "); - wattrset(cookedwin, A_NORMAL); + (void)wattrset(cookedwin, A_BOLD); + (void)mvwaddstr(cookedwin, 1, 1, "Time: "); + (void)mvwaddstr(cookedwin, 1, 31, "Lat: "); + (void)mvwaddstr(cookedwin, 1, 55, "Lon: "); + (void)mvwaddstr(cookedwin, 2, 34, " Cooked PVT "); + (void)wattrset(cookedwin, A_NORMAL); nmeawin = derwin(devicewin, 3, 80, 3, 0); (void)wborder(nmeawin, 0, 0, 0, 0, 0, 0, 0, 0); (void)syncok(nmeawin, true); - wattrset(nmeawin, A_BOLD); - mvwaddstr(nmeawin, 2, 34, " Sentences "); - wattrset(nmeawin, A_NORMAL); + (void)wattrset(nmeawin, A_BOLD); + (void)mvwaddstr(nmeawin, 2, 34, " Sentences "); + (void)wattrset(nmeawin, A_NORMAL); satwin = derwin(devicewin, MAXSATS + 3, 20, 6, 0); (void)wborder(satwin, 0, 0, 0, 0, 0, 0, 0, 0), (void)syncok(satwin, true); @@ -188,7 +188,7 @@ static void nmea_update(void) *--s_end = '.'; *--s_end = '.'; } - mvwaddstr(nmeawin, SENTENCELINE, 1, sentences); + (void)mvwaddstr(nmeawin, SENTENCELINE, 1, sentences); } /* |