From 877cd814cdef7fad0ecb0ae453a9a3970f8c1b7b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 6 Mar 2009 19:02:35 +0000 Subject: Partial splint cleanup, and a fix for a real bug splint caught... (reference to wrong variable). --- monitor_ubx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'monitor_ubx.c') diff --git a/monitor_ubx.c b/monitor_ubx.c index 274911ba..d21cecab 100644 --- a/monitor_ubx.c +++ b/monitor_ubx.c @@ -69,12 +69,12 @@ static void display_nav_svinfo(unsigned char *buf, size_t data_len) ss = getub(buf, off+4); el = getsb(buf, off+5); az = getlesw(buf, off+6); - wmove(satwin, (int)(i+2), 4); - wprintw(satwin, "%3d %3d %3d %2d %04x %c", + (void)wmove(satwin, (int)(i+2), 4); + (void)wprintw(satwin, "%3d %3d %3d %2d %04x %c", prn, az, el, ss, fl, (fl & UBX_SAT_USED)? 'Y' : ' '); } - wnoutrefresh(satwin); + (void)wnoutrefresh(satwin); return; } -- cgit v1.2.1