diff options
Diffstat (limited to 'monitor_oncore.c')
-rw-r--r-- | monitor_oncore.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor_oncore.c b/monitor_oncore.c index 29d462ed..ed0dc457 100644 --- a/monitor_oncore.c +++ b/monitor_oncore.c @@ -75,8 +75,12 @@ static const char *pos_hold_mode[] = { static bool oncore_initialize(void) { + /*@-globstate@*/ unsigned int i; + /* splint pacification */ + assert(Aywin != NULL); + /*@ -onlytrans @*/ Ea1win = subwin(devicewin, 5, 80, 1, 0); Eawin = subwin(devicewin, MAXTRACKSATS + 3, 27, 6, 0); @@ -169,6 +173,7 @@ static bool oncore_initialize(void) memset(EaSVlines, 0, sizeof(EaSVlines)); return true; + /*@+globstate@*/ } static void oncore_update(void) |