Reduce indentation level of big switch statement.

A style thing. I find it easier to read this way.

i.e. do:

while(1) {
  if (blah) {
    ...
    continue;
  }
  ... // big switch statement
}

instead of:

while(1) {
  if (blah) {
    ...
  } else {
    ... // big switch statement
  }
}
This commit is contained in:
Michael Munday 2016-12-02 13:50:09 -05:00
parent fc2b633532
commit 2324be897e

View File

@ -196,7 +196,9 @@ void dasm_put(Dst_DECL, int start, ...)
unsigned short action = ins;
if (action >= DASM__MAX) {
ofs += 2;
} else {
continue;
}
int *pl, n = action >= DASM_REL_PC ? va_arg(ap, int) : 0;
switch (action) {
case DASM_STOP:
@ -280,7 +282,6 @@ void dasm_put(Dst_DECL, int start, ...)
break;
}
}
}
stop:
va_end(ap);
sec->pos = pos;