Bug 2982 - rpc_server/srv_samr_nt.c: domain_sid is never used
Summary: rpc_server/srv_samr_nt.c: domain_sid is never used
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.20
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 07:34 UTC by Jason Mader (mail bounces back)
Modified: 2005-08-24 10:15 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) 2005-08-12 07:34:13 UTC
cc-1552 cc: WARNING File = rpc_server/srv_samr_nt.c, Line = 807
  The variable "domain_sid" is set but never used.

        DOM_SID domain_sid;
                ^
Comment 1 Jason Mader (mail bounces back) 2005-08-12 07:37:18 UTC
Appears to be dead code,

    L807: DOM_SID domain_sid;
    L816: domain_sid = info->sid;
Comment 2 Tim Potter 2005-08-12 14:35:44 UTC
Fixed, thanks!
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:15:42 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.