diff --git a/js/src/xpconnect/src/xpcwrappednative.cpp b/js/src/xpconnect/src/xpcwrappednative.cpp index 13e6b1aa8d55..5eb322a8ad45 100644 --- a/js/src/xpconnect/src/xpcwrappednative.cpp +++ b/js/src/xpconnect/src/xpcwrappednative.cpp @@ -1485,12 +1485,6 @@ static JSBool Throw(uintN errNum, XPCCallContext& ccx) return JS_FALSE; } -static JSBool ReportOutOfMemory(XPCCallContext& ccx) -{ - JS_ReportOutOfMemory(ccx); - return JS_FALSE; -} - enum SizeMode {GET_SIZE, GET_LENGTH}; /***************************************************************************/