if (firstReorder == 0)
if (numReorder == 0)
    int bdd_restrict(int r, int var) {        int res;        firstReorder = 1;        CHECKa(r, bddfalse);        CHECKa(var, bddfalse);        if (var < 2) /* Empty set */            return r;        if (misccache == null) misccache = BddCacheI_init(cachesize);                again : for (;;) {            if (varset2svartable(var) < 0)                return bddfalse;            try {                INITREF();                miscid = (var << 3) | CACHEID_RESTRICT;                if (firstReorder == 0)                    bdd_disable_reorder();                res = restrict_rec(r);                if (firstReorder == 0)                    bdd_enable_reorder();            } catch (ReorderException x) {                bdd_checkreorder();                if (firstReorder-- == 1)                    continue again;                res = BDDZERO;                /* avoid warning about res being uninitialized */            }            break;        }        checkresize();        return res;    }