Skip to content
Snippets Groups Projects
Commit 13b51d6f authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[lpsolve] do not return value in void functions

parent ef245f57
No related branches found
No related tags found
No related merge requests found
...@@ -212,7 +212,6 @@ void set_rh_vec(LinearProgram& lp, double* rh) ...@@ -212,7 +212,6 @@ void set_rh_vec(LinearProgram& lp, double* rh)
DUNE_UNUSED_PARAMETER(lp); DUNE_UNUSED_PARAMETER(lp);
DUNE_UNUSED_PARAMETER(rh); DUNE_UNUSED_PARAMETER(rh);
DUNE_THROW(Exceptions::dependency_missing, "You are missing lp_solve, check available() first!"); DUNE_THROW(Exceptions::dependency_missing, "You are missing lp_solve, check available() first!");
return 1;
#endif #endif
} }
...@@ -225,7 +224,6 @@ void set_verbose(LinearProgram& lp, int verbose) ...@@ -225,7 +224,6 @@ void set_verbose(LinearProgram& lp, int verbose)
DUNE_UNUSED_PARAMETER(lp); DUNE_UNUSED_PARAMETER(lp);
DUNE_UNUSED_PARAMETER(verbose); DUNE_UNUSED_PARAMETER(verbose);
DUNE_THROW(Exceptions::dependency_missing, "You are missing lp_solve, check available() first!"); DUNE_THROW(Exceptions::dependency_missing, "You are missing lp_solve, check available() first!");
return 1;
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment