Fixing warning. Moved declaration into if 0 block.

git-svn-id: svn://10.0.0.236/trunk@51115 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dp%netscape.com
1999-10-19 05:49:04 +00:00
parent 8644b9e14b
commit ab76ab5c8c

View File

@@ -689,13 +689,14 @@ nsNativeComponentLoader::AutoRegisterComponent(PRInt32 when,
*registered = PR_FALSE;
// Ensure we are dealing with a file as opposed to a dir
PRBool b = PR_FALSE;
#if 0
// This is a performance hit on mac. Since we have already checked
// this; plus is we dont, load will fail anyway later on, this
// is being commented out.
// Ensure we are dealing with a file as opposed to a dir
PRBool b = PR_FALSE;
rv = component->IsFile(&b);
if (NS_FAILED(rv) || !b)
return rv;