1
0
Fork 0
forked from fte/fteqw

healing the compiler a tiny bit...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@282 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-10-01 22:20:19 +00:00
parent bc49957d23
commit 467fb6c704

View file

@ -433,17 +433,22 @@ void QCC_InitData (void)
numfunctions = 1;
numglobaldefs = 1;
numfielddefs = 1;
memset(&ret_temp, 0, sizeof(ret_temp));
def_ret.ofs = OFS_RETURN;
def_ret.name = "return";
def_ret.temp = &ret_temp;
def_ret.constant = false;
def_ret.type = NULL;
ret_temp.ofs = def_ret.ofs;
ret_temp.scope = NULL;
ret_temp.size = 3;
ret_temp.next = NULL;
for (i=0 ; i<MAX_PARMS ; i++)
{
def_parms[i].temp = NULL;
def_parms[i].type = NULL;
def_parms[i].ofs = OFS_PARM0 + 3*i;
def_parms[i].name = parmname[i];
sprintf(parmname[i], "parm%i", i);