summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-15 03:48:26 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-15 03:48:26 -0500
commitfc243f0fec56b80621c781d40ecbf6a747dd288e (patch)
treef01372949ca76e3413d5bd02a279c5285e2a2de7 /packet.c
parent1bc30a8e2fbf4f531d24ccd898357a62564fe097 (diff)
downloadgpsd-fc243f0fec56b80621c781d40ecbf6a747dd288e.tar.gz
Partial splint cleanup. All regression tests pass.
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 764bd391..38c403fe 100644
--- a/packet.c
+++ b/packet.c
@@ -732,7 +732,6 @@ static void nextstate(struct gps_packet_t *lexer, unsigned char c)
break;
case NAVCOM_PAYLOAD:
{
- unsigned int n;
unsigned char csum = lexer->inbuffer[3];
for (n = 4;
(unsigned char *)(lexer->inbuffer + n) < lexer->inbufptr - 1;