Skip to content

Commit

Permalink
now gen_example won't crash o a "nobadge" status
Browse files Browse the repository at this point in the history
  • Loading branch information
Iximiel committed Jan 28, 2025
1 parent dccd11d commit 09659a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cltools/GenExample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ int GenExample::main(FILE* in, FILE*out,Communicator& pc) {
ofile<<"with-LOAD-yellow";
} else if(status=="incomplete") {
ofile<<version<<"-incomplete-yellow";
} else if ( status=="nobadge" ) {
ofile<<"nobadge-36454F";
} else {
error("unknown status");
}
Expand Down

0 comments on commit 09659a0

Please # to comment.