Bug 2529 - libads/ldap.c line 1270: "host_span" is set but never used
libads/ldap.c line 1270: "host_span" is set but never used
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.12
SGI IRIX
: P4 normal
: none
Assigned To: James Peach (outdated mail address)
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-22 14:40 UTC by Jason Mader
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 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 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 2005-03-24 06:26:17 UTC
lowering priority
Comment 3 James Peach (outdated mail address) 2005-07-30 22:46:09 UTC
Reassign IRIX bugs to me.
Comment 4 Jason Mader 2006-06-14 06:07:21 UTC
Compiler warning is not in 3.0.23rc2