Resolved some compile warnings
* Removed an unused variable. * Resolved an uninitialized variable issue.
This commit is contained in:
parent
bd36b294ad
commit
ab7324c84c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user