From bc8690795320c601241cd53ce959422ef2e4c1b8 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 27 Feb 2002 23:24:35 +0000 Subject: [PATCH] supress warning --- src/libCom/cxxTemplates/resourceLib.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libCom/cxxTemplates/resourceLib.h b/src/libCom/cxxTemplates/resourceLib.h index 0b0ba937b..cc4a578e1 100644 --- a/src/libCom/cxxTemplates/resourceLib.h +++ b/src/libCom/cxxTemplates/resourceLib.h @@ -523,7 +523,9 @@ bool resTable::setTableSizePrivate ( unsigned logBaseTwoTableSize ) } const unsigned newTableSize = 1 << logBaseTwoTableSize; - const unsigned oldTableSize = this->pTable ? 1 << this->logBaseTwoTableSize : 0; +# if ! defined (__GNUC__) || __GNUC__ > 2 || ( __GNUC__ == 2 && __GNUC_MINOR__ >= 92 ) + const unsigned oldTableSize = this->pTable ? 1 << this->logBaseTwoTableSize : 0; +# endif const unsigned oldTableOccupiedSize = this->tableSize (); tsSLList * pNewTable = ( tsSLList * )