Browse Source

Fixed warning from unused variables

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Cydh Ramdh 10 năm trước cách đây
mục cha
commit
4726f4c968
2 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 1
      src/map/chrif.c
  2. 0 1
      src/map/pc.c

+ 0 - 1
src/map/chrif.c

@@ -1700,7 +1700,6 @@ int chrif_bsdata_received(int fd) {
 	}
 
 	if ((count = RFIFOB(fd,8))) {
-		struct s_bonus_script *list = NULL;
 		uint8 i = 0;
 
 		//ShowInfo("Loaded %d bonus script for CID=%d\n", count, sd->status.char_id);

+ 0 - 1
src/map/pc.c

@@ -11045,7 +11045,6 @@ void pc_show_version(struct map_session_data *sd) {
  * @author [Cydh]
  **/
 void pc_bonus_script(struct map_session_data *sd) {
-	uint8 i = 0;
 	int now = gettick();
 	struct linkdb_node *node = NULL, *next = NULL;