Ver Fonte

* Fixed: several compiler warnings [akrus]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13129 54d463be-8e91-2dee-dedb-b68131a5f0ec
akrus há 16 anos atrás
pai
commit
65939ee758
3 ficheiros alterados com 3 adições e 2 exclusões
  1. 1 1
      Changelog-Trunk.txt
  2. 1 0
      src/map/intif.h
  3. 1 1
      src/map/skill.c

+ 1 - 1
Changelog-Trunk.txt

@@ -4,7 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2008/08/25
-	* Fixed: compiler warning in admin.c [akrus]
+	* Fixed: several compiler warnings [akrus]
 2008/08/20
 	* Rev. 13098 Implemented Brainstorm's and SketchyPhoenix's fixes for Flying side kick. [L0ne_W0lf]
 	- Skill will now remove KA-type statuses and not remove stalker's link while preserved.

+ 1 - 0
src/map/intif.h

@@ -10,6 +10,7 @@ struct guild_member;
 struct guild_position;
 struct s_pet;
 struct s_homunculus;
+struct s_mercenary;
 struct mail_message;
 struct auction_data;
 

+ 1 - 1
src/map/skill.c

@@ -8384,7 +8384,7 @@ int skill_delayfix (struct block_list *bl, int skill_id, int skill_lv)
 {
 	int delaynodex = skill_get_delaynodex(skill_id, skill_lv);
 	int time = skill_get_delay(skill_id, skill_lv);
-	struct map_session_data *sd = BL_CAST(BL_PC, bl);
+	//struct map_session_data *sd = BL_CAST(BL_PC, bl);
 	struct status_change *sc = status_get_sc(bl);
 
 	nullpo_retr(0, bl);