From 134696824a95417440794da4bcaef5e3cdbb6bdb Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Fri, 22 Jul 2005 16:55:15 +0000 Subject: [PATCH] No silent failures! (301553, r=shaver). --- js/src/jsapi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/jsapi.c b/js/src/jsapi.c index bee36cd525cd..5f00b3315b45 100644 --- a/js/src/jsapi.c +++ b/js/src/jsapi.c @@ -1990,7 +1990,8 @@ JS_ConvertStub(JSContext *cx, JSObject *obj, JSType type, jsval *vp) if (type == JSTYPE_STRING) return JS_TRUE; #endif - return js_TryValueOf(cx, obj, type, vp); + js_TryValueOf(cx, obj, type, vp); + return JS_TRUE; } JS_PUBLIC_API(void)