Remove two unused variables in nsCSPService.cpp, to fix build warning & trigger another build cycle & hopefully clear some red during CLOSED TREE

This commit is contained in:
Daniel Holbert 2010-03-16 13:21:09 -07:00
parent c074ac65c0
commit e0134144b0

View File

@ -101,7 +101,6 @@ CSPService::ShouldLoad(PRUint32 aContentType,
// find the nsDocument that initiated this request and see if it has a
// CSP policy object
nsresult rv;
nsCOMPtr<nsINode> node(do_QueryInterface(aRequestContext));
nsCOMPtr<nsIPrincipal> principal;
nsCOMPtr<nsIContentSecurityPolicy> csp;
@ -160,7 +159,6 @@ CSPService::ShouldProcess(PRUint32 aContentType,
// find the nsDocument that initiated this request and see if it has a
// CSP policy object
nsresult rv;
nsCOMPtr<nsINode> node(do_QueryInterface(aRequestContext));
nsCOMPtr<nsIPrincipal> principal;
nsCOMPtr<nsIContentSecurityPolicy> csp;