Skip to content

Commit 165f2b7

Browse files
authored
Merge pull request #16 from noajshu/codex/suppress-unused-variable-warning
Silence unused model_status warning
2 parents e482f1a + f7d4752 commit 165f2b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/simplex.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ void SimplexDecoder::decode_to_errors(const std::vector<uint64_t>& detections) {
305305
}
306306

307307
// Get the model status
308-
const HighsModelStatus& model_status = highs->getModelStatus();
308+
[[maybe_unused]] const HighsModelStatus& model_status =
309+
highs->getModelStatus();
309310
assert(model_status == HighsModelStatus::kOptimal);
310311
}
311312

0 commit comments

Comments
 (0)