From 5faa251c1f9210a9054636f55833954b2ae7778a Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Fri, 10 Apr 2020 16:45:39 -0400 Subject: [PATCH] [apps/solver] Quiz assertion are supposed to run in release mode too --- apps/solver/test/equation_store.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/solver/test/equation_store.cpp b/apps/solver/test/equation_store.cpp index 24063863e..b6f4105d5 100644 --- a/apps/solver/test/equation_store.cpp +++ b/apps/solver/test/equation_store.cpp @@ -14,7 +14,6 @@ namespace Solver { void addEquationWithText(EquationStore * equationStore, const char * text, Context * context) { Ion::Storage::Record::ErrorStatus err = equationStore->addEmptyModel(); quiz_assert_print_if_failure(err == Ion::Storage::Record::ErrorStatus::None, text); - (void) err; // Silence warning in release mode Ion::Storage::Record record = equationStore->recordAtIndex(equationStore->numberOfModels()-1); Shared::ExpiringPointer model = equationStore->modelForRecord(record); model->setContent(text, context);