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
Olaf Meeuwissen 2015-11-11 22:33:34 +09:00
rodzic d2576bbb94
commit 38153b33e1
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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;