Make gSerialCounter defined only ifdef DEBUG to silence a warning. Followup to bug 416939.

This commit is contained in:
jruderman@hmc.edu 2008-02-16 14:15:32 -08:00
Родитель 17c8d07720
Коммит 3848ee6bd6
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -209,11 +209,14 @@ nsIFactory *nsGlobalWindow::sComputedDOMStyleFactory = nsnull;
static nsIEntropyCollector *gEntropyCollector = nsnull;
static PRInt32 gRefCnt = 0;
static PRUint32 gSerialCounter = 0;
static PRInt32 gOpenPopupSpamCount = 0;
static PopupControlState gPopupControlState = openAbused;
static PRInt32 gRunningTimeoutDepth = 0;
#ifdef DEBUG
static PRUint32 gSerialCounter = 0;
#endif
#ifdef DEBUG_jst
PRInt32 gTimeoutCnt = 0;
#endif