Remove superfluous code

This commit is contained in:
Boris Zentner
2016-05-22 22:26:00 +02:00
committed by Robin Stuart
parent bfb4d3284b
commit 63a252a573
6 changed files with 0 additions and 29 deletions

View File

@ -64,8 +64,6 @@ int pharma_one(struct zint_symbol *symbol, unsigned char source[], int length) {
char inter[18] = {0}; /* 131070 -> 17 bits */
char dest[64]; /* 17 * 2 + 1 */
error_number = 0;
if (length > 6) {
strcpy(symbol->errtxt, "Input too long (C50)");
return ZINT_ERROR_TOO_LONG;
@ -199,7 +197,6 @@ int codabar(struct zint_symbol *symbol, unsigned char source[], int length) {
int i, error_number;
char dest[512];
error_number = 0;
strcpy(dest, "");
if (length > 60) { /* No stack smashing please */