Bug 2529 - libads/ldap.c line 1270: "host_span" is set but never used
Summary: libads/ldap.c line 1270: "host_span" 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.12
Hardware: SGI IRIX
: P4 normal
Target Milestone: none
Assignee: James Peach
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-22 14:40 UTC by Jason Mader (mail bounces back)
Modified: 2006-06-14 06:07 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-03-22 14:41:23 UTC
Compiling libads/ldap.c
cc-1552 cc: WARNING File = libads/ldap.c, Line = 1270
  The variable "host_spn" is set but never used.

        char *host_spn, *psp1, *psp2, *psp3;
              ^
Comment 1 Jason Mader (mail bounces back) 2005-03-22 14:56:30 UTC
This a new side effect from:

-       if (!(host_upn = talloc_asprintf(ctx, "%s@%s", host_spn,
ads->config.realm))) {
-               talloc_destroy(ctx);
-               ads_msgfree(ads, res);
-               return ADS_ERROR(LDAP_NO_SUCH_OBJECT);
-       }
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-03-24 06:26:17 UTC
lowering priority
Comment 3 James Peach 2005-07-30 22:46:09 UTC
Reassign IRIX bugs to me.
Comment 4 Jason Mader (mail bounces back) 2006-06-14 06:07:21 UTC
Compiler warning is not in 3.0.23rc2