Fixed warnings in MSVC.
It complained about undefined return values or using uninitialized variables.
This commit is contained in:
@@ -257,6 +257,9 @@ bool cParsedNBT::ReadTag(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
#if !defined(__clang__)
|
||||
default:
|
||||
#endif
|
||||
case TAG_Min:
|
||||
{
|
||||
ASSERT(!"Unhandled NBT tag type");
|
||||
|
||||
Reference in New Issue
Block a user