summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/variables_loader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/variables_loader.cpp')
-rw-r--r--plugins/MirLua/src/variables_loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/variables_loader.cpp b/plugins/MirLua/src/variables_loader.cpp
index 423b5aa475..4fdd5975b2 100644
--- a/plugins/MirLua/src/variables_loader.cpp
+++ b/plugins/MirLua/src/variables_loader.cpp
@@ -123,7 +123,7 @@ static int mlua__rand(lua_State *L)
return 1;
}
-static wchar_t* translate(lua_State *L, const wchar_t *format, const wchar_t *extra, MCONTACT hContact = NULL)
+static wchar_t* translate(lua_State *L, const wchar_t *format, const wchar_t* /*extra*/, MCONTACT /*hContact*/ = NULL)
{
std::wregex regex(L"\\?([a-z_0-9]+)\\(");
std::wstring query = std::regex_replace(format, regex, L"_v$1(");