mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Less another warning
This commit is contained in:
parent
2d71366896
commit
858f69ea55
@ -123,6 +123,7 @@ int aztec_text_process(unsigned char source[], char binary_string[])
|
|||||||
if(blockmap[0][0] & 4) { blockmap[0][0] = 4; }
|
if(blockmap[0][0] & 4) { blockmap[0][0] = 4; }
|
||||||
if(blockmap[0][0] & 8) { blockmap[0][0] = 8; }
|
if(blockmap[0][0] & 8) { blockmap[0][0] = 8; }
|
||||||
|
|
||||||
|
if(blocks > 1) {
|
||||||
/* look for adjacent blocks which can use the same table (left to right search) */
|
/* look for adjacent blocks which can use the same table (left to right search) */
|
||||||
for(i = 1; i < blocks; i++) {
|
for(i = 1; i < blocks; i++) {
|
||||||
if(blockmap[0][i] & blockmap[0][i - 1]) {
|
if(blockmap[0][i] & blockmap[0][i - 1]) {
|
||||||
@ -164,6 +165,7 @@ int aztec_text_process(unsigned char source[], char binary_string[])
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
} while (i < blocks);
|
} while (i < blocks);
|
||||||
|
}
|
||||||
|
|
||||||
/* Put the adjusted block data back into typemap */
|
/* Put the adjusted block data back into typemap */
|
||||||
j = 0;
|
j = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user