Olaf Meeuwissen
754a7164f3
dc25: Fix [-Wunused-const-variable=] compiler warning
...
The percentage_range hasn't been used for anything since the initial
revision of the file.
This also gets rid of a [-Wshift-negative-value] warning as well as a
"initializer element is not a constant expression" pedantic warning.
2017-06-26 11:00:29 +09:00
Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
Olaf Meeuwissen
99c14f2d95
Use a single symbol to flag unused parameters
...
The __sane_unused__ symbol was used slightly more often then UNUSEDARG
and, more importantly, defined in include/sane/sanei_backend.h. That
makes it readily available to virtually all backends.
2016-07-18 16:51:08 +09:00
Olaf Meeuwissen
c31cf62106
dc25: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:38:41 +09:00
chris@cnpbagwell.com
4d9e8138af
standardize including local sane/ include files.
...
Source code was inconsistent on how they were referencing
include files in include/sane. In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
m. allan noah
91598aa800
* backend/*.[ch]: nearly every backend used V_MAJOR
...
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
Mattias Ellert
af663bc5e7
Fix format warnings
2008-02-03 10:34:20 +00:00
Henning Geinitz
af58065746
64 bit platform fixes (bug #300799 ).
2004-10-03 17:34:36 +00:00
Peter Fales
5e464b1576
Fix compiler warning
2003-01-07 01:10:44 +00:00
Peter Fales
f37d33ccaa
Fix logic bugs from mailing list
2003-01-05 19:54:49 +00:00
Peter Fales
2726f546bb
Fix compilation problem on OS/X gcc with UNUSEDARG
2002-10-19 16:35:02 +00:00
Peter Fales
16762f0a4c
Fix tstbackend errors
2002-09-30 04:54:19 +00:00
Peter Fales
4c5bc01e89
backend returning more bytes than expected based on image size
2002-09-25 04:05:01 +00:00
Peter Fales
fd3fa83a57
Update authors email address
2002-09-22 13:49:49 +00:00
Peter Fales
d302941db0
Fixed race condition involving temp files. Removed some superfluous
...
code.
2001-12-20 15:24:04 +00:00
Peter Fales
6c4ef58b92
Back out mkdtemp change. mkdtemp is not available on all platforms
2001-06-21 01:48:33 +00:00
Peter Fales
66d8bc2029
Added a patch from Tim Waugh to use mktemp instead of mkdtemp
2001-06-15 04:07:40 +00:00
Peter Fales
b959f2bc20
Added DBG(1,...) to print version string
2001-05-17 03:14:38 +00:00
Peter Fales
434c5c8898
Remove DBG(0,...) line that was getting printed
...
for non-dc25 users.
2001-05-14 03:28:05 +00:00
Peter Fales
d794b8afa0
Clean up compiler warnings and fix minor memory leak
2001-05-08 03:30:01 +00:00
Petter Reinholdtsen
b4a1a513c9
Merge devel (v1.0.3) into head branch.
2000-08-12 15:11:46 +00:00
Petter Reinholdtsen
760423d864
Merged main branch with current DEVEL_1_9.
2000-03-05 13:57:25 +00:00
Petter Reinholdtsen
30ab5e718a
Initial revision
1999-08-09 18:06:01 +00:00