From 080430b3bda2bec05362119447d51b6c37f1cfc1 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Tue, 18 Dec 2001 05:08:52 +0000 Subject: Redid the most of the file loading/saving. Now uses $HOME/.avp/ and $AVP_DIR to look for files. --- src/win95/iff_ilbm.cpp | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'src/win95/iff_ilbm.cpp') diff --git a/src/win95/iff_ilbm.cpp b/src/win95/iff_ilbm.cpp index b5ebcc5..c09d032 100644 --- a/src/win95/iff_ilbm.cpp +++ b/src/win95/iff_ilbm.cpp @@ -84,10 +84,6 @@ namespace IFF return true; } -// The uninitialised part of byte is shifted out. -#ifdef _MSC_VER -#pragma warning(disable: 4701) -#endif bool IlbmBodyChunk::EncodeNextRow(unsigned const * pRow) { if (!pEncodeDst) return false; @@ -96,7 +92,7 @@ namespace IFF { UBYTE * pBuf = pEncodeSrc; - unsigned byte; + unsigned byte=0; for (unsigned x=0; x