diff --git a/src/map/intif.c b/src/map/intif.c index 329c74629c..efd9ca5e1c 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -3228,8 +3228,6 @@ static bool intif_parse_StorageReceived(int fd) */ static void intif_parse_StorageSaved(int fd) { - TBL_PC *sd = map_id2sd(RFIFOL(fd,2)); - if (RFIFOB(fd, 6)) { switch (RFIFOB(fd, 7)) { case TABLE_INVENTORY: //inventory diff --git a/src/map/script.c b/src/map/script.c index fe414dd2db..d835dc2966 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -7377,7 +7377,7 @@ static void buildin_delitem_delete(struct map_session_data* sd, int idx, int* am { int delamount; struct item *itm = NULL; - struct s_storage *gstor; + struct s_storage *gstor = NULL; switch(loc) { case 1: // cart