summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2014-12-20 15:52:35 +0100
committerThomas Jarosch <tomj@simonv.com>2014-12-20 15:52:35 +0100
commit29ffa832fec4a2123c10730ee6f3d6fc08e39de0 (patch)
tree849cbe600e988e16c0c5f2c165b38189ca12a75c
parent515a07e51dbb6bc0d7a3bdb5ee8e687367127dad (diff)
downloadrockbox-29ffa832fec4a2123c10730ee6f3d6fc08e39de0.tar.gz
rockbox-29ffa832fec4a2123c10730ee6f3d6fc08e39de0.zip
Remove useless assignment of 'len'
The variable 'len' is not used after this statement. Probably a copy'n'paste leftover from the similar looking block above. cppcheck reported: [rockbox/utils/zenutils/source/shared/cenc.cpp:212]: (style) Same expression on both sides of '-'. Change-Id: Ia8357187ed39d3fab10d97df75a1146c4f733790
-rw-r--r--utils/zenutils/source/shared/cenc.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/zenutils/source/shared/cenc.cpp b/utils/zenutils/source/shared/cenc.cpp
index 929a59b64d..c40c863887 100644
--- a/utils/zenutils/source/shared/cenc.cpp
+++ b/utils/zenutils/source/shared/cenc.cpp
@@ -209,7 +209,6 @@ int encode_run(byte* dst, int& dstidx, byte val, int len, int dstlen)
209 int tmp = encode_run(dst, dstidx, val, len, dstlen); 209 int tmp = encode_run(dst, dstidx, val, len, dstlen);
210 if (!tmp) return 0; 210 if (!tmp) return 0;
211 ret += tmp; 211 ret += tmp;
212 len -= len;
213 } 212 }
214 } 213 }
215 214