Warnings...
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
This commit is contained in:
parent
071cb76bc3
commit
5e6b4a157f
@ -834,8 +834,6 @@ int logchrif_parse_accinfo(int fd) {
|
||||
return 0;
|
||||
else {
|
||||
int map_fd = RFIFOL(fd, 2), u_fd = RFIFOL(fd, 6), u_aid = RFIFOL(fd, 10), u_group = RFIFOL(fd, 14), account_id = RFIFOL(fd, 18);
|
||||
short level = -1;
|
||||
int logincount = 0, state = 0;
|
||||
int8 type = RFIFOB(fd, 22);
|
||||
AccountDB* accounts = login_get_accounts_db();
|
||||
struct mmo_account acc;
|
||||
|
@ -55,7 +55,6 @@ static struct view_data hom_viewdb[MAX_HOMUNCULUS_CLASS];
|
||||
* @return -1 if invalid skill or skill index for homunculus skill_tree
|
||||
*/
|
||||
static short hom_skill_get_index(int skill_id) {
|
||||
short idx = 0;
|
||||
if (!skill_get_index(skill_id))
|
||||
return -1;
|
||||
if ((skill_id -= HM_SKILLBASE) < 0 || skill_id >= MAX_HOMUNSKILL)
|
||||
@ -764,7 +763,7 @@ void hom_menu(struct map_session_data *sd, int type)
|
||||
hom_delete(sd->hd, -1);
|
||||
break;
|
||||
default:
|
||||
ShowError("hom_menu : unknown menu choice : %d\n", type) ;
|
||||
ShowError("hom_menu : unknown menu choice : %d\n", type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user