зеркало из 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
|
||||
JSAtom *name = js_Atomize(cx, "#array", 6, 0);
|
||||
if (name) {
|
||||
uintN index;
|
||||
uintN index = (uintN)-1;
|
||||
#ifdef DEBUG
|
||||
JSLocalKind kind =
|
||||
#endif
|
||||
|
|
|
@ -1349,6 +1349,7 @@ js_strtointeger(JSContext *cx, const jschar *s, const jschar *send,
|
|||
intN j;
|
||||
|
||||
bdr.base = base;
|
||||
bdr.digit = 0; // shut GCC up
|
||||
bdr.digitMask = 0;
|
||||
bdr.digits = start;
|
||||
bdr.end = s1;
|
||||
|
|
|
@ -2006,7 +2006,6 @@ typedef js::Vector<LIns *, 4, js::ContextAllocPolicy> LInsList;
|
|||
/* Dummy GC for nanojit placement new. */
|
||||
static GC gc;
|
||||
static avmplus::AvmCore s_core = avmplus::AvmCore();
|
||||
static avmplus::AvmCore* core = &s_core;
|
||||
|
||||
/* Return the cached fragment for the given regexp, or create one. */
|
||||
static Fragment*
|
||||
|
|
Загрузка…
Ссылка в новой задаче