forked from azerothcore/mod-solo-lfg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker.patch
25 lines (21 loc) · 818 Bytes
/
docker.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/src/Lfg_Solo.cpp b/src/Lfg_Solo.cpp
index ee5f70e..ea035bf 100644
--- a/src/Lfg_Solo.cpp
+++ b/src/Lfg_Solo.cpp
@@ -20,7 +20,7 @@ public:
lfg_solo_announce() : PlayerScript("lfg_solo_announce") {}
- void OnLogin(Player* player)
+ void OnLogin(Player* __attribute__ ((unused))player)
{
// Announce Module
if (sConfigMgr->GetBoolDefault("SoloLFG.Announce", true))
@@ -37,7 +37,7 @@ public:
// Docker Installation prevents warnings. In order to avoid the issue, we need to add __attribute__ ((unused))
// to the player variable to tell the compiler it is fine not to use it.
- void OnLogin(Player* player)
+ void OnLogin(Player* __attribute__ ((unused))player)
{
if (sConfigMgr->GetIntDefault("SoloLFG.Enable", true))
{
--
1.8.3.1