mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Remove superfluous code
This commit is contained in:
parent
9553e96f8a
commit
7ca22f24a4
@ -1175,8 +1175,6 @@ int ZBarcode_Buffer(struct zint_symbol *symbol, int rotate_angle) {
|
|||||||
int ZBarcode_Encode_and_Print(struct zint_symbol *symbol, unsigned char *input, int length, int rotate_angle) {
|
int ZBarcode_Encode_and_Print(struct zint_symbol *symbol, unsigned char *input, int length, int rotate_angle) {
|
||||||
int error_number;
|
int error_number;
|
||||||
|
|
||||||
error_number = 0;
|
|
||||||
|
|
||||||
error_number = ZBarcode_Encode(symbol, input, length);
|
error_number = ZBarcode_Encode(symbol, input, length);
|
||||||
if (error_number != 0) {
|
if (error_number != 0) {
|
||||||
return error_number;
|
return error_number;
|
||||||
@ -1189,8 +1187,6 @@ int ZBarcode_Encode_and_Print(struct zint_symbol *symbol, unsigned char *input,
|
|||||||
int ZBarcode_Encode_and_Buffer(struct zint_symbol *symbol, unsigned char *input, int length, int rotate_angle) {
|
int ZBarcode_Encode_and_Buffer(struct zint_symbol *symbol, unsigned char *input, int length, int rotate_angle) {
|
||||||
int error_number;
|
int error_number;
|
||||||
|
|
||||||
error_number = 0;
|
|
||||||
|
|
||||||
error_number = ZBarcode_Encode(symbol, input, length);
|
error_number = ZBarcode_Encode(symbol, input, length);
|
||||||
if (error_number != 0) {
|
if (error_number != 0) {
|
||||||
return error_number;
|
return error_number;
|
||||||
@ -1260,8 +1256,6 @@ int ZBarcode_Encode_File(struct zint_symbol *symbol, char *filename) {
|
|||||||
int ZBarcode_Encode_File_and_Print(struct zint_symbol *symbol, char *filename, int rotate_angle) {
|
int ZBarcode_Encode_File_and_Print(struct zint_symbol *symbol, char *filename, int rotate_angle) {
|
||||||
int error_number;
|
int error_number;
|
||||||
|
|
||||||
error_number = 0;
|
|
||||||
|
|
||||||
error_number = ZBarcode_Encode_File(symbol, filename);
|
error_number = ZBarcode_Encode_File(symbol, filename);
|
||||||
if (error_number != 0) {
|
if (error_number != 0) {
|
||||||
return error_number;
|
return error_number;
|
||||||
@ -1273,8 +1267,6 @@ int ZBarcode_Encode_File_and_Print(struct zint_symbol *symbol, char *filename, i
|
|||||||
int ZBarcode_Encode_File_and_Buffer(struct zint_symbol *symbol, char *filename, int rotate_angle) {
|
int ZBarcode_Encode_File_and_Buffer(struct zint_symbol *symbol, char *filename, int rotate_angle) {
|
||||||
int error_number;
|
int error_number;
|
||||||
|
|
||||||
error_number = 0;
|
|
||||||
|
|
||||||
error_number = ZBarcode_Encode_File(symbol, filename);
|
error_number = ZBarcode_Encode_File(symbol, filename);
|
||||||
if (error_number != 0) {
|
if (error_number != 0) {
|
||||||
return error_number;
|
return error_number;
|
||||||
|
Loading…
Reference in New Issue
Block a user