diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-10-09 09:00:40 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-10-09 09:00:40 -0400 |
commit | a6f20e590e9b485822befc3542caa1f21cdff676 (patch) | |
tree | 0a7a6857dda2943dc5189eff368067f1bd3cf915 /monitor_oncore.c | |
parent | afe4984bb17a7a72764b84d7b959dc0431d0a130 (diff) | |
download | gpsd-a6f20e590e9b485822befc3542caa1f21cdff676.tar.gz |
const and splint cleanup.
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) |