summaryrefslogtreecommitdiff
path: root/indra/llimage/llimagepng.h
diff options
context:
space:
mode:
authorLynx Linden <lynx@lindenlab.com>2010-06-15 17:28:17 +0100
committerLynx Linden <lynx@lindenlab.com>2010-06-15 17:28:17 +0100
commitb2b6d52807f90479216f28228711c4af83a35170 (patch)
treef6f4a0372f67529e6b502abd805acc1334b4668e /indra/llimage/llimagepng.h
parentfce2653f6b5e8ca3509d13e3449b1fdd2f5ff826 (diff)
EXT-7851 FIXED Cleaned up code to avoid confusion.
The mTmpWriteBuffer member variable was never actually being allocated because it was being shadowed by a local variable. This is why the code never crashed. I've removed the member variable as it was clearly never used and really confused the code.
Diffstat (limited to 'indra/llimage/llimagepng.h')
-rw-r--r--indra/llimage/llimagepng.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/llimage/llimagepng.h b/indra/llimage/llimagepng.h
index 083dda73b9..4d6e2ee70a 100644
--- a/indra/llimage/llimagepng.h
+++ b/indra/llimage/llimagepng.h
@@ -47,9 +47,6 @@ public:
/*virtual*/ BOOL updateData();
/*virtual*/ BOOL decode(LLImageRaw* raw_image, F32 decode_time);
/*virtual*/ BOOL encode(const LLImageRaw* raw_image, F32 encode_time);
-
-private:
- U8* mTmpWriteBuffer;
};
#endif