소스 검색

Warnings...

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Cydh Ramdh 10 년 전
부모
커밋
5e6b4a157f
2개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 2
      src/login/loginchrif.c
  2. 1 2
      src/map/homunculus.c

+ 0 - 2
src/login/loginchrif.c

@@ -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;

+ 1 - 2
src/map/homunculus.c

@@ -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;
 	}
 }