summaryrefslogtreecommitdiff
path: root/common/image.cpp
diff options
context:
space:
mode:
authorleo1999-12-18 18:02:33 +0000
committerleo1999-12-18 18:02:33 +0000
commit03d1428a293c9abdddfed2d5faa1984901932384 (patch)
tree00199b68073d52ffaef9fd8c51911cac57224a96 /common/image.cpp
parent7182eed5eb607a2cdd6d8aaae4e893044339cbe1 (diff)
Changed warning level to -Wall under Linux and Level 4 for Windows
git-svn-id: http://svn.leocad.org/trunk@37 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/image.cpp')
-rw-r--r--common/image.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/image.cpp b/common/image.cpp
index 7c624a9..9d7fe50 100644
--- a/common/image.cpp
+++ b/common/image.cpp
@@ -517,8 +517,10 @@ static LC_IMAGE* OpenGIF(File* file)
if (c == '!')
{
- int extlabel = source->input_file->GetChar();
+ int extlabel;
char buf[256];
+
+ extlabel = source->input_file->GetChar();
while (GetDataBlock(source, buf) > 0)
; // skip
continue;