- Got rid of the "i might be used uninitialized on this function" warning in `buildin_getpartyleader'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8199 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-08-09 02:29:11 +00:00
parent 9456f83ac2
commit 4fe5bc0478

View File

@ -5701,7 +5701,7 @@ int buildin_getpartymember(struct script_state *st)
*/ */
int buildin_getpartyleader(struct script_state *st) int buildin_getpartyleader(struct script_state *st)
{ {
int party_id, type = 0, i; int party_id, type = 0, i=0;
struct party_data *p; struct party_data *p;
party_id=conv_num(st,& (st->stack->stack_data[st->start+2])); party_id=conv_num(st,& (st->stack->stack_data[st->start+2]));