mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Silence nondefined compiler warnings
This commit is contained in:
parent
16511da26d
commit
343b3b873e
@ -424,13 +424,13 @@ int Rows2Columns(CharacterSetTable *T, unsigned char *data, int dataLength,
|
|||||||
int errorCur;
|
int errorCur;
|
||||||
int rowsCur;
|
int rowsCur;
|
||||||
int rowsRequested; /* Number of requested rows */
|
int rowsRequested; /* Number of requested rows */
|
||||||
int backupRows;
|
int backupRows = 0;
|
||||||
int fillings;
|
int fillings;
|
||||||
int backupFillings;
|
int backupFillings = 0;
|
||||||
int useColumns;
|
int useColumns;
|
||||||
int testColumns; /* To enter into Width2Rows */
|
int testColumns; /* To enter into Width2Rows */
|
||||||
int backupColumns;
|
int backupColumns = 0;
|
||||||
int fBackupOk; /* The memorysed set is o.k. */
|
int fBackupOk = 0; /* The memorysed set is o.k. */
|
||||||
int testListSize = 0;
|
int testListSize = 0;
|
||||||
int pTestList[62];
|
int pTestList[62];
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
@ -445,7 +445,6 @@ int Rows2Columns(CharacterSetTable *T, unsigned char *data, int dataLength,
|
|||||||
fprintf(stderr,"Optimizer : Searching <%i> rows\n",rowsRequested);
|
fprintf(stderr,"Optimizer : Searching <%i> rows\n",rowsRequested);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fBackupOk=0;
|
|
||||||
if (rowsRequested==1)
|
if (rowsRequested==1)
|
||||||
/* OneLiners are self-calibrating */
|
/* OneLiners are self-calibrating */
|
||||||
testColumns=32767;
|
testColumns=32767;
|
||||||
@ -822,6 +821,7 @@ int codablock(struct zint_symbol *symbol, unsigned char source[], int length) {
|
|||||||
characterSetCur=CodeB;
|
characterSetCur=CodeB;
|
||||||
break;
|
break;
|
||||||
case CodeC:
|
case CodeC:
|
||||||
|
default:
|
||||||
if (rows==1) {
|
if (rows==1) {
|
||||||
*pOutPos = '\x69';
|
*pOutPos = '\x69';
|
||||||
pOutPos++;
|
pOutPos++;
|
||||||
|
Loading…
Reference in New Issue
Block a user