bug 50304, adding "static" to security policy struct, should save some memory and time. r=rogerl

This commit is contained in:
mstoltz%netscape.com 2000-09-07 19:03:23 +00:00
parent 6547254b53
commit 63ce73fabf

View File

@ -535,7 +535,7 @@ nsScriptSecurityManager::CheckLoadURI(nsIURI *aFromURI, nsIURI *aURI,
}
enum Action { AllowProtocol, DenyProtocol, PrefControlled };
struct {
static const struct {
const char *name;
Action action;
} protocolList[] = {