mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
fix compiler warnings (GCC + Clang)
This commit is contained in:
parent
6c3d2d0907
commit
3d22de761f
50 changed files with 80 additions and 103 deletions
|
|
@ -38,7 +38,6 @@ bool menus::call(Engine& engine, runnable func) {
|
|||
if (engine.isHeadless()) {
|
||||
throw std::runtime_error("menus::call(...) in headless mode");
|
||||
}
|
||||
auto gui = engine.getGUI();
|
||||
try {
|
||||
func();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue