Bug 3922 - locking/posix.c: "ret" is set but never used
Summary: locking/posix.c: "ret" is set but never used
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.23
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-12 10:05 UTC by Jason Mader (mail bounces back)
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 (mail bounces back) 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 (mail bounces back) 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.