Fixed compiler warnings

This commit is contained in:
Lukas Matena 2022-08-12 09:40:19 +02:00
parent 0df757895e
commit 661bb522cf
2 changed files with 3 additions and 1 deletions

View file

@ -30,7 +30,9 @@ LoadStepFn get_load_step_fn()
{
static LoadStepFn load_step_fn = nullptr;
#ifndef __APPLE__
constexpr const char* fn_name = "load_step_internal";
#endif
if (!load_step_fn) {
auto libpath = boost::dll::program_location().parent_path();