mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
'#if 0' cleanup
This removes various blocks of uncommented experimental code that was disabled using '#if 0' or '#if 1 ... #else' directives. It's hard or impossible to figure out what the thoughts behind them might have been, and we can really do without those distractions.
This commit is contained in:
parent
f8feed1bd2
commit
42301639d6
17 changed files with 4 additions and 227 deletions
|
@ -1207,22 +1207,6 @@ Namval_t *nv_putsub(Namval_t *np,register char *sp,register long mode)
|
|||
}
|
||||
ap->header.nelem &= ~ARRAY_UNDEF;
|
||||
ap->header.nelem |= (mode&(ARRAY_SCAN|ARRAY_NOCHILD|ARRAY_UNDEF|ARRAY_NOSCOPE));
|
||||
#if 0
|
||||
if(array_isbit(ap->bits,oldsize,ARRAY_CHILD))
|
||||
mp = ap->val[oldsize].np;
|
||||
if(size != oldsize && mp->nvalue.cp)
|
||||
{
|
||||
Namfun_t *nfp;
|
||||
for(nfp=np->nvfun; nfp; nfp=nfp->next)
|
||||
{
|
||||
if(nfp->disc && nfp->disc->readf)
|
||||
{
|
||||
(*nfp->disc->readf)(mp,(Sfio_t*)0,0,nfp);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
ap->cur = size;
|
||||
if((mode&ARRAY_SCAN) && (ap->cur--,!nv_nextsub(np)))
|
||||
np = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue