Skip to content

Commit

Permalink
remove IO warning msg, it only appeares when debugIO is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
wadmes committed Apr 20, 2021
1 parent 60c101f commit ef10549
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/GdsiiIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ void GdsReader::begin_end_cbk(GdsParser::GdsRecords::EnumType record_type)
db.end_str();
break;
default: // be careful here, you may dump a lot of unnecessary error message for unknown record_type
#ifdef DEBUG_IO
mplPrint(kERROR, "%s() unsupported record_type = %s", __func__, GdsParser::gds_record_ascii(record_type));
#endif
break;
}
}
Expand Down Expand Up @@ -134,7 +136,9 @@ void GdsReader::float_cbk(GdsParser::GdsRecords::EnumType record_type, GdsParser
db.unit = vData[1];
break;
default:
#ifdef DEBUG_IO
mplPrint(kERROR, "%s() invalid record_type = %s, data_type = %s", __func__, GdsParser::gds_record_ascii(record_type), GdsParser::gds_data_ascii(data_type));
#endif
break;
}
}
Expand Down

0 comments on commit ef10549

Please sign in to comment.