Bug 611396: Remove 3 unused 'rv' variables from StartupCache.cpp. r=dwiitte a=bsmedberg

This commit is contained in:
Daniel Holbert 2010-11-30 21:27:30 -08:00
parent ac0e61702b
commit a5df17719d

View File

@ -471,8 +471,6 @@ StartupCacheDebugOutputStream::CheckReferences(nsISupports* aObject)
nsresult nsresult
StartupCacheDebugOutputStream::WriteObject(nsISupports* aObject, PRBool aIsStrongRef) StartupCacheDebugOutputStream::WriteObject(nsISupports* aObject, PRBool aIsStrongRef)
{ {
nsresult rv;
nsCOMPtr<nsISupports> rootObject(do_QueryInterface(aObject)); nsCOMPtr<nsISupports> rootObject(do_QueryInterface(aObject));
NS_ASSERTION(rootObject.get() == aObject, NS_ASSERTION(rootObject.get() == aObject,
@ -485,7 +483,6 @@ StartupCacheDebugOutputStream::WriteObject(nsISupports* aObject, PRBool aIsStron
nsresult nsresult
StartupCacheDebugOutputStream::WriteSingleRefObject(nsISupports* aObject) StartupCacheDebugOutputStream::WriteSingleRefObject(nsISupports* aObject)
{ {
nsresult rv;
nsCOMPtr<nsISupports> rootObject(do_QueryInterface(aObject)); nsCOMPtr<nsISupports> rootObject(do_QueryInterface(aObject));
NS_ASSERTION(rootObject.get() == aObject, NS_ASSERTION(rootObject.get() == aObject,
@ -500,7 +497,6 @@ StartupCacheDebugOutputStream::WriteCompoundObject(nsISupports* aObject,
const nsIID& aIID, const nsIID& aIID,
PRBool aIsStrongRef) PRBool aIsStrongRef)
{ {
nsresult rv;
nsCOMPtr<nsISupports> rootObject(do_QueryInterface(aObject)); nsCOMPtr<nsISupports> rootObject(do_QueryInterface(aObject));
nsCOMPtr<nsISupports> roundtrip; nsCOMPtr<nsISupports> roundtrip;