From 13b51d6f04da406dcbe53e4a40484151a6c81d21 Mon Sep 17 00:00:00 2001 From: Tobias Leibner <tobias.leibner@uni-muenster.de> Date: Mon, 23 Apr 2018 10:54:24 +0200 Subject: [PATCH] [lpsolve] do not return value in void functions --- dune/xt/common/lpsolve.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/dune/xt/common/lpsolve.cc b/dune/xt/common/lpsolve.cc index e728c1893..a82dfb1c3 100644 --- a/dune/xt/common/lpsolve.cc +++ b/dune/xt/common/lpsolve.cc @@ -212,7 +212,6 @@ void set_rh_vec(LinearProgram& lp, double* rh) DUNE_UNUSED_PARAMETER(lp); DUNE_UNUSED_PARAMETER(rh); DUNE_THROW(Exceptions::dependency_missing, "You are missing lp_solve, check available() first!"); - return 1; #endif } @@ -225,7 +224,6 @@ void set_verbose(LinearProgram& lp, int verbose) DUNE_UNUSED_PARAMETER(lp); DUNE_UNUSED_PARAMETER(verbose); DUNE_THROW(Exceptions::dependency_missing, "You are missing lp_solve, check available() first!"); - return 1; #endif } -- GitLab