summaryrefslogtreecommitdiff
path: root/monitor_superstar2.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-03-06 18:20:29 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-03-06 18:20:29 +0000
commit3f1145637e2cd29c49b3bc1bc3ea62478b390137 (patch)
tree1443e59e3d2e724ee4fccb78456955ba9fc8e250 /monitor_superstar2.c
parent6c41ffe1621b68a1e5ae961e9487d617909cd6a7 (diff)
downloadgpsd-3f1145637e2cd29c49b3bc1bc3ea62478b390137.tar.gz
Compiler warning and partial splint cleanup.
Diffstat (limited to 'monitor_superstar2.c')
-rw-r--r--monitor_superstar2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor_superstar2.c b/monitor_superstar2.c
index 09621279..23a973bd 100644
--- a/monitor_superstar2.c
+++ b/monitor_superstar2.c
@@ -68,12 +68,12 @@ static void display_superstar2_svinfo(unsigned char *buf, size_t data_len)
az = (unsigned short)getub(buf, off+2) +
((unsigned short)(getub(buf, off+3) & 0x1) << 1);
fl = getub(buf, off) & 0xe0;
- wmove(satwin, i+2, 4);
- wprintw(satwin, "%3u %3d %2d %02d %02x %c",
+ (void)wmove(satwin, i+2, 4);
+ (void)wprintw(satwin, "%3u %3d %2d %02d %02x %c",
porn, az, el, ss, fl,
((fl & 0x60) == 0x60)? 'Y' : ' ');
}
- wnoutrefresh(satwin);
+ (void)wnoutrefresh(satwin);
return;
}