Remove the unused UnexpectedFailure static function to fix my build, no bug

This commit is contained in:
Ehsan Akhgari 2013-10-10 17:39:52 -04:00
parent 061bf53f0e
commit b4ef976b88

View File

@ -2893,12 +2893,6 @@ XPCWrappedNative::HasNativeMember(HandleId name)
return GetSet()->FindMember(name, &member, &ignored) && !!member; return GetSet()->FindMember(name, &member, &ignored) && !!member;
} }
static inline nsresult UnexpectedFailure(nsresult rv)
{
NS_ERROR("This is not supposed to fail!");
return rv;
}
/* void finishInitForWrappedGlobal (); */ /* void finishInitForWrappedGlobal (); */
NS_IMETHODIMP XPCWrappedNative::FinishInitForWrappedGlobal() NS_IMETHODIMP XPCWrappedNative::FinishInitForWrappedGlobal()
{ {