kopia lustrzana https://gitlab.com/sane-project/backends
avision: fix [-Wunused-but-set-variable] compiler warning
The variable seems to have been superseded by conv_out_size in the else branch of set_calib_data().merge-requests/1/head
rodzic
5b8fdd317f
commit
592430016c
|
@ -4641,7 +4641,6 @@ set_calib_data (Avision_Scanner* s, struct calibration_format* format,
|
||||||
struct command_send scmd;
|
struct command_send scmd;
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
size_t out_size;
|
|
||||||
|
|
||||||
DBG (3, "set_calib_data:\n");
|
DBG (3, "set_calib_data:\n");
|
||||||
|
|
||||||
|
@ -4679,8 +4678,6 @@ set_calib_data (Avision_Scanner* s, struct calibration_format* format,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
out_size = format->pixel_per_line * 2;
|
|
||||||
|
|
||||||
/* send data in one command? */
|
/* send data in one command? */
|
||||||
/* FR: HP5370 reports one-pass, but needs multi (or other format in single) */
|
/* FR: HP5370 reports one-pass, but needs multi (or other format in single) */
|
||||||
if (format->channels == 1 ||
|
if (format->channels == 1 ||
|
||||||
|
|
Ładowanie…
Reference in New Issue