Partially addressed Reed-Solomon decoding issue for Datamatrix, but not entirely...
[zxing.git] / core / src / com / google / zxing / datamatrix / decoder / DataBlock.java
index 038b8e0..9a1b4e2 100644 (file)
@@ -71,7 +71,7 @@ final class DataBlock {
     // (where n may be 0) have 1 less byte. Figure out where these start.\r
     // TODO(bbrown): There is only one case where there is a difference for Data Matrix for size 144\r
     int longerBlocksTotalCodewords = result[0].codewords.length;\r
-    int shorterBlocksTotalCodewords = longerBlocksTotalCodewords - 1;\r
+    //int shorterBlocksTotalCodewords = longerBlocksTotalCodewords - 1;\r
 \r
     int longerBlocksNumDataCodewords = longerBlocksTotalCodewords - ecBlocks.getECCodewords();\r
     int shorterBlocksNumDataCodewords = longerBlocksNumDataCodewords - 1;\r