Get rid of warning.
git-svn-id: svn://10.0.0.236/trunk@40757 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
85436a5a14
commit
f89b100b05
@ -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))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user