summaryrefslogtreecommitdiff
path: root/monitor_tnt.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-10-10 10:32:59 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-10-10 10:32:59 -0400
commit53c02f64558aaac3769f4035bd3a832ea8fc299f (patch)
treeccab460400b5b1eeebeb83e057d545446e2284b8 /monitor_tnt.c
parentfd2c45616bb045b400fa61d8a8bf9301dd5e6734 (diff)
downloadgpsd-53c02f64558aaac3769f4035bd3a832ea8fc299f.tar.gz
The previous round of splint fixups was botched. Remedy this.
Diffstat (limited to 'monitor_tnt.c')
-rw-r--r--monitor_tnt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/monitor_tnt.c b/monitor_tnt.c
index 63b8e022..01c21f3b 100644
--- a/monitor_tnt.c
+++ b/monitor_tnt.c
@@ -15,12 +15,10 @@ static WINDOW *thtmwin;
static bool tnt_initialize(void)
{
- /* splint pacification */
- assert(thtmwin != NULL);
-
/*@-globstate@*/
/*@ -onlytrans @*/
thtmwin = derwin(devicewin, 6, 80, 0, 0);
+ assert(thtmwin != NULL);
(void)wborder(thtmwin, 0, 0, 0, 0, 0, 0, 0, 0),
(void)syncok(thtmwin, true);
(void)wattrset(thtmwin, A_BOLD);