Skip to content

Commit

Permalink
Warnings...
Browse files Browse the repository at this point in the history
Signed-off-by: Cydh Ramdh <[email protected]>
  • Loading branch information
cydh committed Dec 2, 2014
1 parent 071cb76 commit 5e6b4a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/login/loginchrif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions src/map/homunculus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 5e6b4a1

Please sign in to comment.