A FIXME: The number of nodes is fixed to 4!

Better make this flexible, but how to detect this number safely?
This commit is contained in:
Holger Vogt 2020-12-15 23:11:11 +01:00
parent fc70256828
commit b0a2ab5729
1 changed files with 1 additions and 1 deletions

View File

@ -2477,7 +2477,7 @@ static void rem_unused_mos_models(struct card* deck) {
}
/* what is the device's model name? */
char* mname = nexttok(curr_line);
int nonodes = 4;
int nonodes = 4; /* FIXME: this is a hack! How to really detect the number of nodes? */
int jj;
for (jj = 0; jj < nonodes; jj++) {
mname = nexttok(mname);