Remove unused variable in trytexcache, and another in C_ParseCommand.

parent 578df29a
......@@ -1450,14 +1450,12 @@ int trytexcache(char *fn, int len, int dameth, char effect, texcacheheader *head
{
int offset = 0;
int len = 0;
int i;
i = HASH_find(&cacheH,cachefn);
if (i > -1)
{
texcacheindex *t = cacheptrs[i];
len = t->len;
offset = t->offset;
// initprintf("got a match for %s offset %d\n",cachefn,offset);
}
......
......@@ -1842,7 +1842,6 @@ static int C_CountCaseStatements()
static int C_ParseCommand(void)
{
int i, j=0, k=0, done, tw;
char *temptextptr;
intptr_t *tempscrptr = NULL;
if (quitevent)
......@@ -4255,7 +4254,6 @@ static int C_ParseCommand(void)
*g_scriptPtr++=0; // leave spot for 'default' location (null if none)
j = C_GetKeyword();
temptextptr=textptr;
// probably does not allow nesting...
//AddLog("Counting Case Statements...");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment