summaryrefslogtreecommitdiffstats
path: root/source/NBT.cpp
diff options
context:
space:
mode:
authormadmaxoft <madmaxoft@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-13 10:28:24 +0100
committermadmaxoft <madmaxoft@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-13 10:28:24 +0100
commitd0a606959bcf7e7eccfdcc715202a77fafe03a95 (patch)
tree0195df662b62a88ec808f0862442ebf6c041de4e /source/NBT.cpp
parentGotten rid of stricmp MSVC warnings (diff)
downloadcuberite-d0a606959bcf7e7eccfdcc715202a77fafe03a95.tar
cuberite-d0a606959bcf7e7eccfdcc715202a77fafe03a95.tar.gz
cuberite-d0a606959bcf7e7eccfdcc715202a77fafe03a95.tar.bz2
cuberite-d0a606959bcf7e7eccfdcc715202a77fafe03a95.tar.lz
cuberite-d0a606959bcf7e7eccfdcc715202a77fafe03a95.tar.xz
cuberite-d0a606959bcf7e7eccfdcc715202a77fafe03a95.tar.zst
cuberite-d0a606959bcf7e7eccfdcc715202a77fafe03a95.zip
Diffstat (limited to '')
-rw-r--r--source/NBT.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/NBT.cpp b/source/NBT.cpp
index 928ef8080..da743a8bc 100644
--- a/source/NBT.cpp
+++ b/source/NBT.cpp
@@ -78,7 +78,7 @@ cNBTTag * cNBTTag::CreateTag(cNBTTag * a_Parent, eTagType a_Type, const AString
case TAG_Compound: return new cNBTCompound (a_Parent, a_Name);
default:
{
- ASSERT("Unknown TAG type requested" == NULL);
+ ASSERT(!"Unknown TAG type requested");
return NULL;
}
}
@@ -636,7 +636,6 @@ cNBTTree * cNBTParser::Parse(const char * a_Data, int a_Length)
void DumpTree(const cNBTTree * a_Tree, int a_Level)
{
AString Indent(a_Level, TEXT(' '));
- HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
switch (a_Tree->GetType())
{
CASE_SIMPLE_TAG(Byte, "d")