ignored return values in tdb.c HEAD

andreas moroder claudiamoroder at st-ulrich.suedtirol.net
Sun Feb 10 04:54:02 GMT 2002


Hello,

as I wrote weeks ago regarding 2.2, there are many places where return values 
are ignored. This is also true for HEAD. Here the list for tdb.c ( thanks to 
splint )

tdb/tdb.c:239:4: Return value (type int) ignored: tdb_spinunlock(t...
tdb/tdb.c:241:4: Return value (type int) ignored: tdb_brlock(tdb, ...
tdb/tdb.c:443:2: Return value (type int) ignored: tdb_lock(tdb, i, 1)
tdb/tdb.c:475:2: Return value (type int) ignored: tdb_lock(tdb, -1, 1)
tdb/tdb.c:537:2: Return value (type int) ignored: update_tailer(td...
tdb/tdb.c:681:2: Return value (type int) ignored: tdb_oob(tdb, tdb...
tdb/tdb.c:1080:2: Return value (type int) ignored: write_unlock_rec...
tdb/tdb.c:1123:4: Return value (type int) ignored: unlock_record(td...
tdb/tdb.c:1140:5: Return value (type int) ignored: lock_record(tdb,...
tdb/tdb.c:1146:4: Return value (type int) ignored: do_delete(tdb, c...
tdb/tdb.c:1188:4: Return value (type int) ignored: unlock_record(td...
tdb/tdb.c:1200:4: Return value (type int) ignored: unlock_record(td...
tdb/tdb.c:1221:2: Return value (type int) ignored: unlock_record(td...
tdb/tdb.c:1250:4: Return value (type int) ignored: unlock_record(td...
tdb/tdb.c:1264:3: Return value (type int) ignored: lock_record(tdb,...
tdb/tdb.c:1336:3: Return value (type int) ignored: tdb_delete(tdb, key)
tdb/tdb.c:1450:3: Return value (type int) ignored: tdb_new_database...
tdb/tdb.c:1527:4: Return value (type int) ignored: tdb_clear_spinlo...
tdb/tdb.c:1563:3: Return value (type int) ignored: close(tdb->fd)
tdb/tdb.c:1703:2: Return value (type int) ignored: close(tdb->fd)
tdb/tdb.c:1709:2: Return value (type int) ignored: fstat(tdb->fd, &st)
tdb/tdb.c:1723:2: Return value (type int) ignored: tdb_close(tdb)  

Bye

Andreas




More information about the samba-technical mailing list