Bug 2132 - libsmb/ntlmssp.c: target_name_dns is set but never used
Summary: libsmb/ntlmssp.c: target_name_dns is set but never used
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: libsmbclient (show other bugs)
Version: 3.0.9
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-12-08 08:01 UTC by Jason Mader (mail bounces back)
Modified: 2005-08-24 10:19 UTC (History)
0 users

See Also:

removes target_name_dns dead code (642 bytes, patch)
2005-01-30 11:50 UTC, Jason Mader (mail bounces back)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 2004-12-08 08:01:52 UTC
cc-1552 cc: WARNING File = libsmb/ntlmssp.c, Line = 445
  The variable "target_name_dns" is set but never used.

                const char *target_name_dns = "";

This is either dead code, or in the function call msrpc_gen() on line 452, 'target_name_dns' was 
intended to be used.
Comment 1 Jason Mader (mail bounces back) 2005-01-30 11:50:38 UTC
Created attachment 924 [details]
removes target_name_dns dead code
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-07 15:41:40 UTC
got it.  Thanks.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-02-08 08:03:01 UTC
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:19:58 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.