CXX clif.cpp
clif.cpp: In function 'void clif_selllist(map_session_data*, npc_data*)':
clif.cpp:2013:19: error: declaration of 'npc_data* nd' shadows a parameter
struct npc_data *nd;
^~
make[1]: *** [obj/clif.o] Error 1
any fix?
i think this make your diff fail https://github.com/rathena/rathena/commit/3e1105b0cf8380b4e4646800305b59c3de0f96ea#diff-c5d5e782db2344e04a7089b24ba6c962
lol i fixed,
lol i fixed by accident,
in clif.cpp diff change the void to
void clif_selllist(struct map_session_data *sd, struct npc_data *nd)
but after updates rathena puts "struct npc_data *nd" inside making the diff finish with this code
void clif_selllist(struct map_session_data *sd, struct npc_data *nd)
{
int fd,i,c=0,val;
struct npc_data *nd;
and giving error when compiles, because "struct npc_data *nd" is inside, and parameter,
i just removed the line inside.
tested and work 100%