summaryrefslogtreecommitdiff
path: root/monitor_ubx.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-03-06 19:02:35 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-03-06 19:02:35 +0000
commit877cd814cdef7fad0ecb0ae453a9a3970f8c1b7b (patch)
tree8522aedb7136a9f4b4f4e897912a57e4ae089338 /monitor_ubx.c
parent3f1145637e2cd29c49b3bc1bc3ea62478b390137 (diff)
downloadgpsd-877cd814cdef7fad0ecb0ae453a9a3970f8c1b7b.tar.gz
Partial splint cleanup, and a fix for a real bug splint caught...
(reference to wrong variable).
Diffstat (limited to 'monitor_ubx.c')
-rw-r--r--monitor_ubx.c6
1 files changed, 3 insertions, 3 deletions
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;
}