azerothcore/mod-eluna

warning when compiling the module

Opened this issue · 0 comments

In file included from /mnt/hdd/am-core/modules/mod-eluna/src/LuaEngine/LuaFunctions.cpp:20:
/mnt/hdd/am-core/modules/mod-eluna/src/LuaEngine/GlobalMethods.h:2126:17: warning: variable 'mode' set but not used [-Wunused-but-set-variable]
BanMode mode = BanMode::BAN_ACCOUNT;