Compiler suggested cleanup

This commit is contained in:
Mark Pizzolato 2015-10-15 14:19:03 -07:00
parent 1ab15eb45d
commit ab8151cdcc

View file

@ -794,7 +794,6 @@ AUTO_CON *autp;
DEVICE *dptr;
DIB *dibp;
uint32 j, k;
int v;
if (done)
return;
@ -809,8 +808,12 @@ for (j = 0; (dptr = sim_devices[j]) != NULL; j++) {
ilvl = dibp->vloc / 32;
ibit = dibp->vloc % 32;
#if (VEC_SET != 0)
for (v=0; v<MAX(dibp->vnum, 1); v++)
int_vec_set[ilvl][ibit+v] = VEC_SET;
if (1) {
int v;
for (v=0; v<MAX(dibp->vnum, 1); v++)
int_vec_set[ilvl][ibit+v] = VEC_SET;
}
#endif
break;
}