- cleaned out some commented out code.

This commit is contained in:
Christoph Oelckers 2019-10-20 10:44:51 +02:00
parent 2316957026
commit 462bd8d292
2 changed files with 0 additions and 39 deletions

View file

@ -679,10 +679,6 @@ static void G_PrintCoords(int32_t snum)
#endif
}
#if !defined DEBUG_ALLOCACHE_AS_MALLOC
extern int32_t cacnum;
extern cactype cac [];
#endif
static void G_ShowCacheLocks(void)
{
@ -691,23 +687,6 @@ static void G_ShowCacheLocks(void)
int k = 0;
/*
#if !defined DEBUG_ALLOCACHE_AS_MALLOC
for (int i=cacnum-1; i>=0; i--)
{
if ((*cac[i].lock) != 200 && (*cac[i].lock) != 1)
{
if (k >= ydim-12)
break;
Bsprintf(tempbuf, "Locked- %d: Leng:%d, Lock:%d", i, cac[i].leng, *cac[i].lock);
printext256(0L, k, COLOR_WHITE, -1, tempbuf, 1);
k += 6;
}
}
#endif
*/
if (k < ydim-12)
k += 6;

View file

@ -674,11 +674,6 @@ static void G_PrintCoords(int32_t snum)
#endif
}
#if !defined DEBUG_ALLOCACHE_AS_MALLOC
extern int32_t cacnum;
extern cactype cac [];
#endif
static void G_ShowCacheLocks(void)
{
int16_t i, k;
@ -687,20 +682,7 @@ static void G_ShowCacheLocks(void)
return;
k = 0;
/*
#if !defined DEBUG_ALLOCACHE_AS_MALLOC
for (i=cacnum-1; i>=0; i--)
if ((*cac[i].lock) >= 200)
{
if (k >= ydim-12)
break;
Bsprintf(tempbuf, "Locked- %d: Leng:%d, Lock:%d", i, cac[i].leng, *cac[i].lock);
printext256(0L, k, COLOR_WHITE, -1, tempbuf, 1);
k += 6;
}
#endif
*/
if (k < ydim-12)
k += 6;