kopia lustrzana https://gitlab.com/sane-project/backends
tools/umax_pp: Fix [-Wunused-variable] compiler warning
The file descriptor is only used in code conditionalised on the HAVE_LINUX_PPDEV_H preprocessor define.merge-requests/1/head
rodzic
3258b70de4
commit
bdba3cc073
|
@ -35,12 +35,16 @@ main (int argc, char **argv)
|
|||
char *name = NULL;
|
||||
int scan = 0;
|
||||
int lamp = -1;
|
||||
int i, fd;
|
||||
int i;
|
||||
int found;
|
||||
int recover = 0;
|
||||
int trace = 0;
|
||||
int maxw, maxh;
|
||||
|
||||
#ifdef HAVE_LINUX_PPDEV_H
|
||||
int fd;
|
||||
#endif
|
||||
|
||||
/* scanning parameters : defaults to preview (75 dpi color, full scan area) */
|
||||
int gain = 0x0;
|
||||
int offset = 0x646;
|
||||
|
|
Ładowanie…
Reference in New Issue