summaryrefslogtreecommitdiff
path: root/contrib/motosend.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-05-16 20:08:41 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-05-16 20:08:41 -0400
commite8ad2a489d193b81b9fbfa0525e4d607859f6b0d (patch)
treed52b0693705628195086e7ed0656d64147608cb8 /contrib/motosend.c
parentacb1d33db991147d689857ca388ab20a0867050c (diff)
downloadgpsd-e8ad2a489d193b81b9fbfa0525e4d607859f6b0d.tar.gz
New version of cppcheck requires more suppressions.
Diffstat (limited to 'contrib/motosend.c')
-rw-r--r--contrib/motosend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/motosend.c b/contrib/motosend.c
index 7d19b647..c1c3e477 100644
--- a/contrib/motosend.c
+++ b/contrib/motosend.c
@@ -115,7 +115,7 @@ char moto_gen_checksum(char *buf, int len){
static int moto_send(int fd, char *type, char *body ) {
size_t status;
char *buf;
- unsigned short l, ck;
+ unsigned short l;
l = strlen(body) / 2;
if ((buf = malloc(l+7)) == NULL)