lots of warnings in ntdb
Matthieu Patou
mat at samba.org
Thu Oct 4 02:44:27 MDT 2012
Rusty,
There is tons of warnings in ntdb for almost the same thing:
from ../lib/ntdb/test/run-30-exhaust-before-expand.c:1:
../lib/ntdb/free.c: In function ‘lock_and_alloc’:
../lib/ntdb/free.c:686:14: warning: variable ‘len’ set but not used
[-Wunused-but-set-variable]
[ 754/3736] Compiling lib/ntdb/test/run-64-bit-tdb.c
In file included from ../lib/ntdb/test/ntdb-source.h:3:0,
from ../lib/ntdb/test/run-35-convert.c:3:
../lib/ntdb/free.c: In function ‘lock_and_alloc’:
../lib/ntdb/free.c:686:14: warning: variable ‘len’ set but not used
[-Wunused-but-set-variable]
[ 755/3736] Compiling lib/ntdb/test/run-90-get-set-attributes.c
In file included from ../lib/ntdb/test/ntdb-source.h:3:0,
from ../lib/ntdb/test/run-56-open-during-transaction.c:14:
../lib/ntdb/free.c: In function ‘lock_and_alloc’:
../lib/ntdb/free.c:686:14: warning: variable ‘len’ set but not used
[-Wunused-but-set-variable]
[ 756/3736] Compiling lib/ntdb/test/run-capabilities.c
In file included from ../lib/ntdb/test/ntdb-source.h:3:0,
from ../lib/ntdb/test/run-64-bit-tdb.c:1:
../lib/ntdb/free.c: In function ‘lock_and_alloc’:
../lib/ntdb/free.c:686:14: warning: variable ‘len’ set but not used
[-Wunused-but-set-variable]
[ 757/3736] Compiling lib/ntdb/test/run-expand-in-transaction.c
In file included from ../lib/ntdb/test/ntdb-source.h:3:0,
from ../lib/ntdb/test/run-57-die-during-transaction.c:84:
../lib/ntdb/free.c: In function ‘lock_and_alloc’:
../lib/ntdb/free.c:686:14: warning: variable ‘len’ set but not used
[-Wunused-but-set-variable]
[ 758/3736] Compiling lib/ntdb/test/run-features.c
In file included from ../lib/ntdb/test/ntdb-source.h:3:0,
from ../lib/ntdb/test/run-90-get-set-attributes.c:1:
../lib/ntdb/free.c: In function ‘lock_and_alloc’:
../lib/ntdb/free.c:686:14: warning: variable ‘len’ set but not used
[-Wunused-but-set-variable]
Would you mind fixing them ?
Thanks.
Matthieu
--
Matthieu Patou
Samba Team
http://samba.org
More information about the samba-technical
mailing list