mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
slap som,e warnings and other correction
This commit is contained in:
parent
72d9521c8a
commit
6cf3cc82b2
2 changed files with 4 additions and 1 deletions
|
|
@ -530,7 +530,7 @@ void WorldSession::HandleCalendarEventRsvp(WorldPacket& recv_data)
|
||||||
uint32 status;
|
uint32 status;
|
||||||
|
|
||||||
recv_data >> eventId >> inviteId >> status;
|
recv_data >> eventId >> inviteId >> status;
|
||||||
DEBUG_FILTER_LOG(LOG_FILTER_CALENDAR, "EventId ["UI64FMTD "], InviteId [" UI64FMTD "], status %u",
|
DEBUG_FILTER_LOG(LOG_FILTER_CALENDAR, "EventId [" UI64FMTD "], InviteId [" UI64FMTD "], status %u",
|
||||||
eventId, inviteId, status);
|
eventId, inviteId, status);
|
||||||
|
|
||||||
if (CalendarEvent* event = sCalendarMgr.GetEventById(eventId))
|
if (CalendarEvent* event = sCalendarMgr.GetEventById(eventId))
|
||||||
|
|
|
||||||
|
|
@ -276,6 +276,8 @@ void SQLStorageLoaderBase<DerivedLoader, StorageClass>::Load(StorageClass& store
|
||||||
case FT_NA_BYTE: storeValue((char)0, store, record, x, offset); ++x; continue;
|
case FT_NA_BYTE: storeValue((char)0, store, record, x, offset); ++x; continue;
|
||||||
case FT_NA_FLOAT: storeValue((float)0.0f, store, record, x, offset); ++x; continue;
|
case FT_NA_FLOAT: storeValue((float)0.0f, store, record, x, offset); ++x; continue;
|
||||||
case FT_NA_POINTER: storeValue((char const*)NULL, store, record, x, offset); ++x; continue;
|
case FT_NA_POINTER: storeValue((char const*)NULL, store, record, x, offset); ++x; continue;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// It is required that the input has at least as many columns set as the output requires
|
// It is required that the input has at least as many columns set as the output requires
|
||||||
|
|
@ -301,6 +303,7 @@ void SQLStorageLoaderBase<DerivedLoader, StorageClass>::Load(StorageClass& store
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
assert(false && "unknown format character");
|
assert(false && "unknown format character");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
++y;
|
++y;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue