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 4005922627
commit 7612cb3588
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? */ /* what is the device's model name? */
char* mname = nexttok(curr_line); 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; int jj;
for (jj = 0; jj < nonodes; jj++) { for (jj = 0; jj < nonodes; jj++) {
mname = nexttok(mname); mname = nexttok(mname);