зеркало из https://github.com/mozilla/gecko-dev.git
Bug 516298 - TM: fix three compiler warnings. r=brendan.
This commit is contained in:
Родитель
f26d0536f8
Коммит
66a7bc4f8d
|
@ -1799,7 +1799,7 @@ JSFunction::sharpSlotBase(JSContext *cx)
|
||||||
#if JS_HAS_SHARP_VARS
|
#if JS_HAS_SHARP_VARS
|
||||||
JSAtom *name = js_Atomize(cx, "#array", 6, 0);
|
JSAtom *name = js_Atomize(cx, "#array", 6, 0);
|
||||||
if (name) {
|
if (name) {
|
||||||
uintN index;
|
uintN index = (uintN)-1;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
JSLocalKind kind =
|
JSLocalKind kind =
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1349,6 +1349,7 @@ js_strtointeger(JSContext *cx, const jschar *s, const jschar *send,
|
||||||
intN j;
|
intN j;
|
||||||
|
|
||||||
bdr.base = base;
|
bdr.base = base;
|
||||||
|
bdr.digit = 0; // shut GCC up
|
||||||
bdr.digitMask = 0;
|
bdr.digitMask = 0;
|
||||||
bdr.digits = start;
|
bdr.digits = start;
|
||||||
bdr.end = s1;
|
bdr.end = s1;
|
||||||
|
|
|
@ -2006,7 +2006,6 @@ typedef js::Vector<LIns *, 4, js::ContextAllocPolicy> LInsList;
|
||||||
/* Dummy GC for nanojit placement new. */
|
/* Dummy GC for nanojit placement new. */
|
||||||
static GC gc;
|
static GC gc;
|
||||||
static avmplus::AvmCore s_core = avmplus::AvmCore();
|
static avmplus::AvmCore s_core = avmplus::AvmCore();
|
||||||
static avmplus::AvmCore* core = &s_core;
|
|
||||||
|
|
||||||
/* Return the cached fragment for the given regexp, or create one. */
|
/* Return the cached fragment for the given regexp, or create one. */
|
||||||
static Fragment*
|
static Fragment*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче