From 01443bb1bc3392adbbc6c144830849ad2b5dfdc6 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Thu, 22 May 2014 11:40:07 +0200 Subject: cppcheck: Variable 'i' is assigned a value that is never used Change-Id: I02e0f878e743576ebb3c80e3120fa1dc54e379ed --- shell/source/win32/zipfile/zipfile.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'shell') diff --git a/shell/source/win32/zipfile/zipfile.cxx b/shell/source/win32/zipfile/zipfile.cxx index 270fbe1ec6bd..3ba0e91ae37d 100644 --- a/shell/source/win32/zipfile/zipfile.cxx +++ b/shell/source/win32/zipfile/zipfile.cxx @@ -204,7 +204,6 @@ static bool readCentralDirectoryEntry(StreamInterface *stream, CentralDirectoryE entry.internal_attr = readShort(stream); entry.external_attr = readInt(stream); entry.offset = readInt(stream); - unsigned short i = 0; entry.filename.assign(readString(stream, entry.filename_size)); entry.extra_field.assign(readString(stream, entry.extra_field_size)); entry.file_comment.assign(readString(stream, entry.file_comment_size)); @@ -234,7 +233,6 @@ static bool readLocalFileHeader(StreamInterface *stream, LocalFileHeader &header header.uncompressed_size = readInt(stream); header.filename_size = readShort(stream); header.extra_field_size = readShort(stream); - unsigned short i = 0; header.filename.assign(readString(stream, header.filename_size)); header.extra_field.assign(readString(stream, header.extra_field_size)); } -- cgit