GLK: ARCHETYPE: Fix Missing Default Switch Cases

These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
D G Turner 2019-12-19 13:16:18 +00:00
parent 6a9b081bad
commit fc5eb5ecf8
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,8 @@ bool access_xarray(XArrayType &the_xarray, int index, void *&result, AccessType
case POKE_ACCESS:
the_xarray[index - 1] = result;
break;
default:
break;
}
return true;

View File

@ -267,6 +267,8 @@ bool get_token(progfile &f) {
s = s + '\r';
next_ch = '\n';
break;
default:
break;
}
}
s = s + next_ch;