зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1200097 - Fix warnings in logalloc. r=glandium.
--HG-- extra : rebase_source : 5f49243f7b46b411ec845c3f747fdb14bc959b07
This commit is contained in:
Родитель
5c7496d286
Коммит
a6522f55a6
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче