mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
fix static analysis. r=gal
This commit is contained in:
parent
9949c2c050
commit
62a931dac7
@ -1527,7 +1527,7 @@ interpret_dollar(JSContext *cx, jschar *dp, jschar *ep, ReplaceData *rdata,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static JSBool
|
||||
static JS_REQUIRES_STACK JSBool
|
||||
find_replen(JSContext *cx, ReplaceData *rdata, size_t *sizep)
|
||||
{
|
||||
JSString *repstr;
|
||||
@ -1691,7 +1691,7 @@ replace_destroy(JSContext *cx, GlobData *data)
|
||||
rdata->chars = NULL;
|
||||
}
|
||||
|
||||
static JSBool
|
||||
static JS_REQUIRES_STACK JSBool
|
||||
replace_glob(JSContext *cx, jsint count, GlobData *data)
|
||||
{
|
||||
ReplaceData *rdata;
|
||||
@ -1727,7 +1727,7 @@ replace_glob(JSContext *cx, jsint count, GlobData *data)
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
static JSBool
|
||||
static JS_REQUIRES_STACK JSBool
|
||||
str_replace(JSContext *cx, uintN argc, jsval *vp)
|
||||
{
|
||||
JSObject *lambda;
|
||||
@ -1746,7 +1746,7 @@ str_replace(JSContext *cx, uintN argc, jsval *vp)
|
||||
return js_StringReplaceHelper(cx, argc, lambda, repstr, vp);
|
||||
}
|
||||
|
||||
JSBool
|
||||
JSBool JS_REQUIRES_STACK
|
||||
js_StringReplaceHelper(JSContext *cx, uintN argc, JSObject *lambda,
|
||||
JSString *repstr, jsval *vp)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user