Remove unused g_skipKeywordCheck

git-svn-id: https://svn.eduke32.com/eduke32@7034 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-07 05:22:51 +00:00
parent 33f57d4bb6
commit 3d9df928a5

View file

@ -50,7 +50,7 @@ static intptr_t *g_caseScriptPtr;
static intptr_t previous_event;
static int32_t g_numCases = 0, g_checkingCase = 0;
static int32_t g_checkingSwitch = 0, g_currentEvent = -1;
static int32_t g_labelsOnly = 0, g_skipKeywordCheck = 0, g_dynamicTileMapping = 0, g_dynamicSoundMapping = 0;
static int32_t g_labelsOnly = 0, g_dynamicTileMapping = 0, g_dynamicSoundMapping = 0;
static int32_t g_numBraces = 0;
static int32_t C_ParseCommand(int32_t loop);
@ -1856,7 +1856,7 @@ static void C_GetNextVarType(int32_t type)
C_GetNextLabelName();
if (EDUKE32_PREDICT_FALSE(!g_skipKeywordCheck && hash_find(&h_keywords,label+(g_labelCnt<<6))>=0))
if (EDUKE32_PREDICT_FALSE(hash_find(&h_keywords,label+(g_labelCnt<<6))>=0))
{
g_errorCnt++;
C_ReportError(ERROR_ISAKEYWORD);
@ -2142,7 +2142,7 @@ static int32_t C_GetNextValue(int32_t type)
}
tempbuf[l] = 0;
if (EDUKE32_PREDICT_FALSE(!g_skipKeywordCheck && hash_find(&h_keywords,tempbuf /*label+(g_numLabels<<6)*/)>=0))
if (EDUKE32_PREDICT_FALSE(hash_find(&h_keywords,tempbuf /*label+(g_numLabels<<6)*/)>=0))
{
g_errorCnt++;
C_ReportError(ERROR_ISAKEYWORD);