Browse Source

Fixed a gcc warning, blame on r15451

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15459 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 years ago
parent
commit
40e49c7f3c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/battle.c

+ 1 - 1
src/map/battle.c

@@ -4152,7 +4152,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
 		case BL_SKILL:
 		{
 			struct skill_unit *su = (struct skill_unit *)src;
-			int inf2;
+			int inf2 = 0;
 			if (!su->group)
 				return 0;
 			if( battle_config.vs_traps_bctall &&