зеркало из https://github.com/mozilla/gecko-dev.git
Fix a compiler warning on opt builds. No bug, r=gal via IRC.
This commit is contained in:
Родитель
6dc9c4c8c1
Коммит
5fcb0af4aa
|
@ -163,7 +163,10 @@ GetNativeStackBaseImpl()
|
|||
|
||||
void *stackBase = 0;
|
||||
size_t stackSize = 0;
|
||||
int rc = pthread_attr_getstack(&sattr, &stackBase, &stackSize);
|
||||
# ifdef DEBUG
|
||||
int rc =
|
||||
# endif
|
||||
pthread_attr_getstack(&sattr, &stackBase, &stackSize);
|
||||
JS_ASSERT(!rc);
|
||||
JS_ASSERT(stackBase);
|
||||
pthread_attr_destroy(&sattr);
|
||||
|
|
Загрузка…
Ссылка в новой задаче