summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-09 02:29:11 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-09 02:29:11 +0000
commitd0b9bb6892a2e662b6be7c065c400655dc92e332 (patch)
treec84cffacbd4be793c310fe2f669b378619d54505 /src/map
parent7a13b4b39286831e4e96780f0b60b855437d2879 (diff)
downloadhercules-d0b9bb6892a2e662b6be7c065c400655dc92e332.tar.gz
hercules-d0b9bb6892a2e662b6be7c065c400655dc92e332.tar.bz2
hercules-d0b9bb6892a2e662b6be7c065c400655dc92e332.tar.xz
hercules-d0b9bb6892a2e662b6be7c065c400655dc92e332.zip
- Got rid of the "i might be used uninitialized on this function" warning in `buildin_getpartyleader'
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8199 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 2b0585b18..73b3b6e89 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -5701,7 +5701,7 @@ int buildin_getpartymember(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;
party_id=conv_num(st,& (st->stack->stack_data[st->start+2]));