noobzter003
New member
- Messages
- 54
- Points
- 0
Someone please help.
How to solve these warnings.
hBG.c: In function ‘atcommand_reportafk’:
hBG.c:2040:31: warning: unused variable ‘hBGsd’ [-Wunused-variable]
struct hBG_map_session_data *hBGsd = NULL;
^
hBG.c: In function ‘atcommand_leader’:
hBG.c:2084:31: warning: unused variable ‘hBGsd’ [-Wunused-variable]
struct hBG_map_session_data *hBGsd = NULL;
^
hBG.c: In function ‘status_get_guild_id_pre’:
hBG.c:3776:31: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
&& (bg_id = bg->team_get_id((struct block_list *)*bl)) > 0
^
hBG.c: In function ‘status_get_emblem_id_pre’:
hBG.c:3797:31: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
&& (bg_id = bg->team_get_id((struct block_list *)(*bl))) > 0
^
PLUGIN hBG
activate your plugins in plugins.conf
should be like this
plugins_list: [
"example",
"other",
]
-----------------------------------------
Please note that your scripts need to be saved
in the .c (source code) extension and placed in the /src/plugin/ folder.
-----------------------------------------
*/
plugins_list: [
/* Enable HPMHooking when plugins in use rely on Hooking */
"HPMHooking",
"hBG",
]

