for now, until we really use kt*() otherwise, ifdef out tablep/hval

This commit is contained in:
tg
2009-08-28 20:38:43 +00:00
parent 4ccdfc8508
commit bb7a720a00
4 changed files with 29 additions and 6 deletions

4
expr.c
View File

@ -22,7 +22,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/expr.c,v 1.31 2009/08/28 20:30:55 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/expr.c,v 1.32 2009/08/28 20:38:41 tg Exp $");
/* The order of these enums is constrained by the order of opinfo[] */
enum token {
@ -608,8 +608,10 @@ tempvar(void)
vp->flag = ISSET|INTEGER;
vp->type = 0;
vp->areap = ATEMP;
#ifdef notyet_ktremove
vp->tablep = NULL;
vp->hval = 0;
#endif
vp->val.i = 0;
vp->name[0] = '\0';
return (vp);