Bug 3922 - locking/posix.c: "ret" is set but never used
locking/posix.c: "ret" is set but never used
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.23
SGI IRIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-12 10:05 UTC by Jason Mader
Modified: 2006-07-12 14:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 2006-07-12 10:05:26 UTC
( revision 16982 )
--- locking/posix.o ---
cc-1552 c99: WARNING File = locking/posix.c, Line = 1263
  The variable "ret" is set but never used.

        BOOL ret = True;
             ^
Comment 1 Jason Mader 2006-07-12 10:05:58 UTC
Looks like new code added and the BOOL ret is just a copy & paste extra.
Comment 2 Jeremy Allison 2006-07-12 14:23:54 UTC
Fixed thanks !
Jeremy.