Silence the -Wuninitialized warning in mozjemalloc

GCC 7+ warns about too many false positives.
This commit is contained in:
trav90 2018-09-08 08:43:33 -05:00 committed by Roy Tam
commit cab0faa710

View file

@ -37,7 +37,10 @@ LOCAL_INCLUDES += [
]
if CONFIG['GNU_CC']:
CFLAGS += ['-Wno-unused'] # too many annoying warnings from mfbt/ headers
# too many annoying warnings from mfbt/ headers
# also too many false positives from functions generated through rb_wrab from rb.h.
CFLAGS += ['-Wno-unused',
'-Wno-uninitialized']
if CONFIG['_MSC_VER']:
CFLAGS += ['-wd4273'] # inconsistent dll linkage (bug 558163)