(svn r7162) -CodeChange: disabled compilation of unused code (Darkvater)

This commit is contained in:
KUDr 2006-11-15 23:47:52 +00:00
parent 811455f74f
commit 336e0a1775
2 changed files with 4 additions and 0 deletions

View File

@ -54,7 +54,9 @@ public:
FORCEINLINE int MaxRawSize() const { return Hdr().m_max_size; };
FORCEINLINE int8* RawData() { return ptr_u.m_pData; }
FORCEINLINE const int8* RawData() const { return ptr_u.m_pData; }
#if 0 // reenable when needed
FORCEINLINE uint32 Crc32() const {return CCrc32::Calc(RawData(), RawSize());}
#endif //0
FORCEINLINE void Clear() { RawSizeRef() = 0; }
FORCEINLINE void Free() { if (MaxRawSize() > 0) {RawFree(&Hdr()); InitEmpty();} }
FORCEINLINE void CopyFrom(const CBlobBaseSimple& src) { Clear(); AppendRaw(src); }

View File

@ -3,6 +3,7 @@
#ifndef CRC32_HPP
#define CRC32_HPP
#if 0 // reenable when needed
struct CCrc32
{
static uint32 Calc(const void *pBuffer, int nCount)
@ -59,5 +60,6 @@ struct CCrc32
return Table;
}
};
#endif // 0
#endif /* CRC32_HPP */