Fixed remaining linux/gcc compiler warnings

This commit is contained in:
jdv_cp 2009-05-06 14:12:32 -07:00
parent 3bfde2fbc8
commit 5e201aa43d
3 changed files with 10 additions and 9 deletions

View File

@ -13,11 +13,11 @@ class DecoderStrategy
{
public:
DecoderStrategy(const JlsParamaters& info) :
_readCache(0),
_validBits(0),
_pbyteCompressed(0),
_info(info),
_processLine(0)
_processLine(0),
_readCache(0),
_validBits(0),
_pbyteCompressed(0)
{
if (_info.ilv != ILV_LINE)
{

View File

@ -14,12 +14,13 @@ class EncoderStrategy
public:
explicit EncoderStrategy(const JlsParamaters& info) :
_qdecoder(0),
valcurrent(0),
_info(info),
_processLine(0),
valcurrent(0),
bitpos(0),
_bFFWritten(false),
_cbyteWritten(0),
_info(info),
_processLine(0)
_cbyteWritten(0)
{
if (_info.ilv != ILV_LINE)
{

2
scan.h
View File

@ -831,7 +831,7 @@ void JlsCodec<TRAITS,STRATEGY>::InitParams(LONG t1, LONG t2, LONG t3, LONG nRese
InitQuantizationLUT();
LONG A = MAX(2, (traits.RANGE + 32)/64);
for (LONG Q = 0; Q < sizeof(_contexts) / sizeof(_contexts[0]); ++Q)
for (unsigned int Q = 0; Q < sizeof(_contexts) / sizeof(_contexts[0]); ++Q)
{
_contexts[Q] = JlsContext(A);
}