Bug 4463 - smbd/msdfs.c: "prot" is set but never used
smbd/msdfs.c: "prot" is set but never used
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.25
SGI IRIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-24 12:40 UTC by Jason Mader
Modified: 2007-03-24 13:22 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 2007-03-24 12:40:30 UTC
cc-1552 c99: WARNING File = smbd/msdfs.c, Line = 245
  The variable "prot" is set but never used.

        char *prot;
              ^
Comment 1 Jason Mader 2007-03-24 12:41:27 UTC
3.0.25pre2
Comment 2 Volker Lendecke 2007-03-24 13:17:08 UTC
Fixed with r21960 -- thanks

Volker
Comment 3 Jeremy Allison 2007-03-24 13:22:28 UTC
Volker - commit r21960 would have broken the parsing of msdfs links.
We need to do the initial strtok to set up the internal state.
I've fixed this in svn rev 21961.
Jeremy.