unused variables in TFSSourceControlProvider.cs

Feb 8, 2008 at 11:02 AM
Edited Feb 8, 2008 at 11:12 AM
In TFSSourceControlProvider.cs, Line 329, the variable filename is never used, anywhere.

string folderName = "";
string filename = item.Name;
if (item.Name.IndexOf('/') != -1)
{
  folderName = GetFolderName(item.Name).ToLower();
  filename = item.Name.Substring(folderName.Length + 1);
}

And Line 976, the variables changePath, is never used either.
Just incase no one noticed... it just looks a bit suspicous
Feb 28, 2008 at 8:51 PM
Thanks, I have removed both of them