Skip to content

Commit

Permalink
Silence warning without libglpk, fixes #438.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoupey committed Jan 14, 2021
1 parent d0dde57 commit 7156278
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/structures/vroom/input/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,8 @@ Solution Input::check(unsigned nb_thread) {
#else
// Attempt to use libglpk while compiling without it.
throw Exception(ERROR::INPUT, "VROOM compiled without libglpk installed.");
// Silence -Wunused-parameter warning.
(void)nb_thread;
#endif
}

Expand Down

0 comments on commit 7156278

Please sign in to comment.