Fixed 2 compilation warnings

This commit is contained in:
Lemongrass3110 2017-07-02 15:06:27 +02:00
parent ad80914981
commit 2aefe6c188
2 changed files with 1 additions and 2 deletions

View File

@ -507,7 +507,6 @@ struct Channel* channel_name2channel(char *chname, struct map_session_data *sd,
} }
else else
return (struct Channel*) strdb_get(channel_db, chname + 1); return (struct Channel*) strdb_get(channel_db, chname + 1);
return NULL;
} }
/** /**

View File

@ -56,7 +56,7 @@ enum e_pc_permission {
static const struct { static const struct {
const char *name; const char *name;
unsigned int permission; enum e_pc_permission permission;
} pc_g_permission_name[] = { } pc_g_permission_name[] = {
{ "can_trade", PC_PERM_TRADE }, { "can_trade", PC_PERM_TRADE },
{ "can_party", PC_PERM_PARTY }, { "can_party", PC_PERM_PARTY },