Skip to content

Commit 1bd2c39

Browse files
committed
Silence one unused-variable warning in highs_bindings.cpp
Warning wth GCC 14.3.0 was: ``` ../subprojects/highs/src/highs_bindings.cpp: In function 'std::tuple<HighsStatus, pybind11::array_t<double, 17>, int, pybind11::array_t<int, 17> > highs_getReducedRowSparse(Highs*, HighsInt)': ../subprojects/highs/src/highs_bindings.cpp:335:12: warning: unused variable 'num_col' [-Wunused-variable] 335 | HighsInt num_col = h->getNumCol(); | ^~~~~~~ ```
1 parent b05711e commit 1bd2c39

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

highs/highs_bindings.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ std::tuple<HighsStatus, dense_array_t<double>> highs_getReducedRow(
357357
std::tuple<HighsStatus, dense_array_t<double>, HighsInt,
358358
dense_array_t<HighsInt>>
359359
highs_getReducedRowSparse(Highs* h, HighsInt row) {
360-
HighsInt num_col = h->getNumCol();
361360
HighsInt num_row = h->getNumRow();
362361

363362
HighsStatus status = HighsStatus::kOk;

0 commit comments

Comments
 (0)