Bug 3496 - libsmb/ntlmssp_sign.c: "nt_status" is never used
Summary: libsmb/ntlmssp_sign.c: "nt_status" is never used
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.21b
Hardware: SGI IRIX
: P3 major
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-10 13:33 UTC by Jason Mader (mail bounces back)
Modified: 2006-02-13 07:26 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-02-10 13:33:52 UTC
cc-1552 cc: WARNING File = libsmb/ntlmssp_sign.c, Line = 239
  The variable "nt_status" is set but never used.

        NTSTATUS nt_status;
                 ^
Comment 1 Jason Mader (mail bounces back) 2006-02-10 13:34:49 UTC
In the function this appears, the return is hard coded to NT_STATUS_OK.  It looks like the return value was intended to be the nt_status variable.
Comment 2 Jeremy Allison 2006-02-13 07:26:30 UTC
Fixed, thanks !
Jeremy.