From d0a606959bcf7e7eccfdcc715202a77fafe03a95 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Tue, 13 Mar 2012 09:28:24 +0000 Subject: Fixed a few warnings, lifted up the block interactinos limit to 20 (10 was not enough for Creative mode) git-svn-id: http://mc-server.googlecode.com/svn/trunk@407 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/NBT.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/NBT.cpp') 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") -- cgit v1.2.3