Bug 2132 - libsmb/ntlmssp.c: target_name_dns is set but never used
libsmb/ntlmssp.c: target_name_dns is set but never used
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: libsmbclient
3.0.9
SGI IRIX
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-08 08:01 UTC by Jason Mader
Modified: 2005-08-24 10:19 UTC (History)
0 users

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 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 2005-01-30 11:50:38 UTC
Created attachment 924 [details]
removes target_name_dns dead code
Comment 2 Gerald (Jerry) Carter 2005-02-07 15:41:40 UTC
got it.  Thanks.
Comment 3 Gerald (Jerry) Carter 2005-02-08 08:03:01 UTC
closing
Comment 4 Gerald (Jerry) Carter 2005-08-24 10:19:58 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.