From a2222107e18e00e140eee2a5dbb993881af90d3c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 16 Feb 2010 22:34:15 +0000 Subject: Integrated cppcheck testing, and fixed some minor bugs found by it. --- contrib/motosend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/motosend.c') diff --git a/contrib/motosend.c b/contrib/motosend.c index e990338d..351d2dcc 100644 --- a/contrib/motosend.c +++ b/contrib/motosend.c @@ -113,7 +113,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, n, ck; + unsigned short l, ck; l = strlen(body) / 2; if ((buf = malloc(l+7)) == NULL) -- cgit v1.2.1