summaryrefslogtreecommitdiff
path: root/gpspipe.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-01 21:27:59 +0000
committerEric S. Raymond <esr@thyrsus.com>2010-03-01 21:27:59 +0000
commit6349316cd30d37d5e0df14c7aba8ba74854b0721 (patch)
tree94760203263f22c1403b55e9ce8865cda959c95f /gpspipe.c
parent07cd7fa607e45616371136f5136cff42c6228d5b (diff)
downloadgpsd-6349316cd30d37d5e0df14c7aba8ba74854b0721.tar.gz
Pre-release splint and cppcheck cleanup. All regression tests pass.
Diffstat (limited to 'gpspipe.c')
-rw-r--r--gpspipe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpspipe.c b/gpspipe.c
index 69dfcd91..d68a062a 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -151,6 +151,7 @@ static void usage(void)
);
}
+/*@ -compdestroy @*/
int main( int argc, char **argv)
{
char buf[4096];
@@ -379,8 +380,9 @@ int main( int argc, char **argv)
}
#endif /* __UNUSED__ */
- exit(0);
+ /*@i1@*/exit(0);
}
+/*@ +compdestroy @*/
static void spinner (unsigned int v, unsigned int num) {
char *spin = "|/-\\";