fix unused var

This commit is contained in:
DarthArgus
2015-10-13 11:21:47 -05:00
parent 6010ad6b90
commit 2faaef7a22
@@ -719,9 +719,10 @@ namespace soe
int ClassScribe<ClassType>::Print(char * stream, unsigned size, const ClassType & data, unsigned maxDepth) const
{
int bytesTotal = 0;
int bytes = 0;
#ifdef PRINTABLE_MESSAGES
int bytes = 0;
if (maxDepth == 0) {
bytes = snprintf(stream, size, "%s{mMembers(%u)}", ClassName(), mMemberScribes.size());
return bytes;