kopia lustrzana https://gitlab.com/sane-project/backends
Fix "discards 'const' qualifier from pointer target type" warning
The device2 variable is not modified so let's make that clear.merge-requests/1/head
rodzic
d2576bbb94
commit
38153b33e1
|
@ -1755,7 +1755,8 @@ cs2_open (const char *device, cs2_interface_t interface, cs2_t ** sp)
|
|||
{
|
||||
SANE_Status status;
|
||||
cs2_t *s;
|
||||
char *prefix = NULL, *line, *device2;
|
||||
char *prefix = NULL, *line;
|
||||
const char *device2;
|
||||
int i;
|
||||
int alloc_failed = 0;
|
||||
SANE_Device **device_list_new;
|
||||
|
|
Ładowanie…
Reference in New Issue