Skip to content

Commit

Permalink
Remove unused function printError().
Browse files Browse the repository at this point in the history
  • Loading branch information
djunglas committed Mar 16, 2023
1 parent e13bcb7 commit e2039ad
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ortools/linear_solver/xpress_interface.cc
Expand Up @@ -166,14 +166,6 @@ namespace {
return true;
}

void printError(const XPRSprob& mLp, int line) {
char errmsg[512];
XPRSgetlasterror(mLp, errmsg);
VLOG(0) << absl::StrFormat("Function line %d did not execute correctly: %s\n",
line, errmsg);
exit(0);
}

int XPRSgetnumcols(const XPRSprob& mLp) {
int nCols = 0;
XPRSgetintattrib(mLp, XPRS_ORIGINALCOLS, &nCols);
Expand Down

0 comments on commit e2039ad

Please sign in to comment.