Forráskód Böngészése

Follow up to f296409ada211a0aa89863db4d9603054845cf65
* Some variable and function leftovers clean-ups

Jittapan Pluemsumran 8 éve
szülő
commit
8657c4210c
2 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 1
      src/char/int_storage.c
  2. 0 1
      src/map/itemdb.h

+ 1 - 1
src/char/int_storage.c

@@ -90,7 +90,7 @@ int guild_storage_tosql(int guild_id, struct guild_storage* p)
 int guild_storage_fromsql(int guild_id, struct guild_storage* p)
 {
 	StringBuf buf;
-	int i, j, k;
+	int i, j;
 
 	memset(p, 0, sizeof(struct guild_storage)); //clean up memory
 	p->storage_amount = 0;

+ 0 - 1
src/map/itemdb.h

@@ -536,7 +536,6 @@ uint16 itemdb_get_randgroupitem_count(uint16 group_id, uint8 sub_group, unsigned
 bool itemdb_parse_roulette_db(void);
 
 struct s_random_opt_data* itemdb_randomopt_exists(short id);
-short itemdb_randomopt_name2id(const char *name);
 
 void itemdb_reload(void);