Bug 682767 - Warning nsISupportsImpl.h: unused owner; r=bsmedberg
authorOleg Romashin <romaxa@gmail.com>
Wed, 31 Aug 2011 13:16:13 +0100
changeset 76321 3ef046cd262245dacde049b8434345f715f964c1
parent 76320 5565603c0b7dcddbfe925625bf90ae708c247506
child 76322 256a8799fce7c45e5a6fe2e0eb59fadc70e63e1c
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersbsmedberg
bugs682767
milestone9.0a1
Bug 682767 - Warning nsISupportsImpl.h: unused owner; r=bsmedberg
xpcom/glue/nsISupportsImpl.h
--- a/xpcom/glue/nsISupportsImpl.h
+++ b/xpcom/glue/nsISupportsImpl.h
@@ -170,17 +170,17 @@ public:
       refcount = NS_CCAR_TAGGED_TO_REFCNT(mTagged);
       ++refcount;
       mTagged = NS_CCAR_REFCNT_TO_TAGGED(refcount);
     }
 
     return refcount;
   }
 
-  void stabilizeForDeletion(nsISupports *owner)
+  void stabilizeForDeletion(nsISupports*)
   {
     mTagged = NS_CCAR_TAGGED_STABILIZED_REFCNT;
   }
 
   nsrefcnt decr(nsISupports *owner)
   {
     if (NS_UNLIKELY(mTagged == NS_CCAR_TAGGED_STABILIZED_REFCNT))
       return 1;