summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-22 11:40:07 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-22 12:50:48 +0200
commit01443bb1bc3392adbbc6c144830849ad2b5dfdc6 (patch)
treeebb5451576a02cf2dbedb46884ffc2d064aae8ce /shell
parentdffc29614f84200006bff8dff768ddd123cc3237 (diff)
cppcheck: Variable 'i' is assigned a value that is never used
Change-Id: I02e0f878e743576ebb3c80e3120fa1dc54e379ed
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/zipfile/zipfile.cxx2
1 files changed, 0 insertions, 2 deletions
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));
}