From 4d23f8e4f62bb7b270aad0da489e5779d451aa45 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 3 Jul 2014 19:56:46 +0200 Subject: mot-encoder remove unused variables --- src/mot-encoder.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mot-encoder.cpp') diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp index ff577a6..1a5ca1e 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -171,7 +171,6 @@ int main(int argc, char *argv[]) int len, fidx, ret; struct dirent *pDirent; DIR *pDir; - char dlstext[MAXDLS]; int padlen = 58; bool erase_after_tx = false; int sleepdelay = 10; @@ -425,7 +424,6 @@ RETURN: void createMotHeader(size_t blobsize, int fidx, unsigned char* mothdr, int* mothdrlen) { - int ret; struct stat s; char MotHeaderCore[7] = {0x00,0x00,0x00,0x00,0x0D,0x04,0x01}; char MotHeaderExt[19] = {0x85,0x00,0x00,0x00,0x00,0xcc,0x0c, @@ -813,7 +811,7 @@ void writeMotPAD(int output_fd, { unsigned char pad[128]; - int xpadlengthmask, i, j,k, numseg, lastseglen; + int xpadlengthmask, i, j, k; unsigned short int crc; xpadlengthmask = get_xpadlengthmask(padlen); -- cgit v1.2.3