Bug 4463 - smbd/msdfs.c: "prot" is set but never used
Summary: smbd/msdfs.c: "prot" 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.25
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-24 12:40 UTC by Jason Mader (mail bounces back)
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 (mail bounces back) 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 (mail bounces back) 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.