diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-07-03 19:56:46 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-07-03 19:57:59 +0200 |
commit | 34c7950e6849c63b7a7b0e1c9c2a9fab48244f22 (patch) | |
tree | 9954b08772fc36f2f57f5bff45a50d35f0b142e1 /src/mot-encoder.cpp | |
parent | 3672b496c70aec5e1e0a2e047c1124ad4bc4f33b (diff) | |
download | ODR-PadEnc-34c7950e6849c63b7a7b0e1c9c2a9fab48244f22.tar.gz ODR-PadEnc-34c7950e6849c63b7a7b0e1c9c2a9fab48244f22.tar.bz2 ODR-PadEnc-34c7950e6849c63b7a7b0e1c9c2a9fab48244f22.zip |
mot-encoder remove unused variables
Diffstat (limited to 'src/mot-encoder.cpp')
-rw-r--r-- | src/mot-encoder.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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); |