summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index b89e1a368..1b91dfc93 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -1203,11 +1203,10 @@ unsigned int guild_payexp(struct map_session_data *sd,unsigned int exp)
// Celest
int guild_getexp(struct map_session_data *sd,int exp)
{
- struct guild *g;
struct guild_expcache *c;
nullpo_ret(sd);
- if (sd->status.guild_id == 0 || (g = guild_search(sd->status.guild_id)) == NULL)
+ if (sd->status.guild_id == 0 || guild_search(sd->status.guild_id) == NULL)
return 0;
c = (struct guild_expcache*)guild_expcache_db->ensure(guild_expcache_db, i2key(sd->status.char_id), create_expcache, sd);