mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 611396: Remove 3 unused 'rv' variables from StartupCache.cpp. r=dwiitte a=bsmedberg
This commit is contained in:
parent
ac0e61702b
commit
a5df17719d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user