зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1393487 Silence unused variable warning because we do it on purpose in PluginPRLibrary.cpp r=jimm
MozReview-Commit-ID: 5AcehJFnFho --HG-- extra : rebase_source : acac2a0d1ac67970cb98ea258f83097f655a5631
This commit is contained in:
Родитель
cd24023cb4
Коммит
8ceb4d1ed5
|
@ -4,6 +4,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/PluginPRLibrary.h"
|
||||
#include "nsNPAPIPluginInstance.h"
|
||||
|
||||
|
@ -16,7 +17,7 @@
|
|||
// gNotOptimized exists so that the compiler will not optimize the alloca
|
||||
// below.
|
||||
static int gNotOptimized;
|
||||
#define CALLING_CONVENTION_HACK void* foo = _alloca(gNotOptimized);
|
||||
#define CALLING_CONVENTION_HACK void* foo MOZ_UNUSED_ATTRIBUTE = _alloca(gNotOptimized);
|
||||
#else
|
||||
#define CALLING_CONVENTION_HACK
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче