slap som,e warnings and other correction

This commit is contained in:
sanctum32 2015-02-04 10:40:07 +00:00 committed by Antz
parent 72d9521c8a
commit 6cf3cc82b2
2 changed files with 4 additions and 1 deletions

View file

@ -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))

View file

@ -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;
} }