Bug 1200097 - Fix warnings in logalloc. r=glandium.

--HG--
extra : rebase_source : 5f49243f7b46b411ec845c3f747fdb14bc959b07
This commit is contained in:
Nicholas Nethercote 2015-08-31 16:53:13 -07:00
Родитель 5c7496d286
Коммит a6522f55a6
3 изменённых файлов: 2 добавлений и 7 удалений

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

@ -13,6 +13,7 @@
#endif
#include <cstring>
#include "mozilla/Assertions.h"
#include "mozilla/unused.h"
/* Template class allowing a limited number of increments on a value */
template <typename T>
@ -125,7 +126,7 @@ out:
DWORD written;
WriteFile(reinterpret_cast<HANDLE>(aFd), buf, b - buf, &written, nullptr);
#else
write(aFd, buf, b - buf);
mozilla::unused << write(aFd, buf, b - buf);
#endif
va_end(ap);
}

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

@ -38,6 +38,3 @@ if CONFIG['OS_TARGET'] == 'Android':
DIRS += [
'replay',
]
# XXX: We should fix these warnings
ALLOW_COMPILER_WARNINGS = True

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

@ -21,6 +21,3 @@ USE_LIBS += [
]
DISABLE_STL_WRAPPING = True
# XXX: We should fix these warnings
ALLOW_COMPILER_WARNINGS = True