Bug 516298 - TM: fix three compiler warnings. r=brendan.

This commit is contained in:
Nicholas Nethercote 2009-09-14 14:17:45 +10:00
Родитель f26d0536f8
Коммит 66a7bc4f8d
3 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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*