Skip to content

Commit 38578b2

Browse files
committed
Fix two warnings
1 parent b831faa commit 38578b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/qpsolver/a_quass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ QpAsmStatus solveqp(Instance& instance,
157157
}
158158

159159
// solve
160-
QpAsmStatus status = solveqp_actual(instance, settings, startinfo, stats, qp_model_status, qp_solution, qp_timer);
160+
solveqp_actual(instance, settings, startinfo, stats, qp_model_status, qp_solution, qp_timer);
161161

162162
// undo perturbation and resolve
163163

src/simplex/HEkkDualRow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ HighsInt HEkkDualRow::chooseFinal() {
186186
alt_workCount = workCount;
187187
}
188188
analysis->simplexTimerStart(Chuzc4Clock);
189-
bool choose_ok;
189+
bool choose_ok = false;
190190
if (use_quad_sort) {
191191
// Use the O(n^2) quadratic sort for the candidates
192192
analysis->simplexTimerStart(Chuzc4a0Clock);

0 commit comments

Comments
 (0)