Skip to content

Commit

Permalink
remove duplicate error messages for bad board size (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift authored Feb 18, 2023
1 parent 11ab4c8 commit f12ab85
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cpp/command/analysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,11 +617,9 @@ int MainCmds::analysis(const vector<string>& args) {
continue;
}
if(!parseInteger(input, "boardXSize", xBuf, 2, Board::MAX_LEN, boardSizeError.c_str())) {
reportErrorForId(rbase.id, "boardXSize", boardSizeError.c_str());
continue;
}
if(!parseInteger(input, "boardYSize", yBuf, 2, Board::MAX_LEN, boardSizeError.c_str())) {
reportErrorForId(rbase.id, "boardYSize", boardSizeError.c_str());
continue;
}
boardXSize = (int)xBuf;
Expand Down

0 comments on commit f12ab85

Please sign in to comment.