Fix a compiler warning on opt builds. No bug, r=gal via IRC.

This commit is contained in:
Nicholas Nethercote 2010-05-20 16:12:41 -07:00
Родитель 6dc9c4c8c1
Коммит 5fcb0af4aa
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -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);