Get rid of warning.

This commit is contained in:
rjc@netscape.com
1999-07-23 00:39:29 +00:00
parent ac10f0a7b7
commit 47605624bd
@@ -1051,12 +1051,12 @@ FileSystemDataSource::GetName(nsIRDFResource *source, nsIRDFLiteral **aResult)
return NS_ERROR_OUT_OF_MEMORY;
nsAutoString name(baseFilename);
PRInt32 nameLen = name.Length();
#ifdef XP_WIN
// special hack for IE favorites under Windows; strip off the
// trailing ".url" or ".lnk" at the end of IE favorites names
PRInt32 nameLen = name.Length();
nsAutoString theURI(uri);
if ((theURI.Find(ieFavoritesDir) == 0) && (nameLen > 4))
{