Small cleanup

- Remove an unused variable
- Fix the coding system
- Remove trailing whitespace
This commit is contained in:
jean.chalard
2011-12-18 12:00:14 +00:00
parent d93fdb2d4a
commit 3e12180bad
+1 -3
View File
@@ -3,7 +3,7 @@
// zfsystem.cpp: implementation of the zip file system classes. // zfsystem.cpp: implementation of the zip file system classes.
// //
// Copyright (C) 2004 Tanguy Fautré. // Copyright (C) 2004 Tanguy Fautré.
// For conditions of distribution and use, // For conditions of distribution and use,
// see copyright notice in zfsystem.h // see copyright notice in zfsystem.h
// //
@@ -390,7 +390,6 @@ bool filesystem::PreloadZip(const char * Filename, map<string, limited_file_info
// Include files into Files map // Include files into Files map
const char * Name = &(* FileHdr.m_Filename.begin()); const char * Name = &(* FileHdr.m_Filename.begin());
const unsigned short i = FileHdr.m_FilenameSize - 1;
if (FileHdr.m_FilenameSize != 0) { if (FileHdr.m_FilenameSize != 0) {
// The zip in zip method only supports stored Zips because of JFileSystem limitations // The zip in zip method only supports stored Zips because of JFileSystem limitations
@@ -419,7 +418,6 @@ bool filesystem::PreloadZip(const char * Filename, map<string, limited_file_info
// Include files into Files map // Include files into Files map
const char * Name = &(* FileHdr.m_Filename.begin()); const char * Name = &(* FileHdr.m_Filename.begin());
const unsigned short i = FileHdr.m_FilenameSize - 1;
if (FileHdr.m_FilenameSize != 0) { if (FileHdr.m_FilenameSize != 0) {
// The zip in zip method only supports stored Zips because of JFileSystem limitations // The zip in zip method only supports stored Zips because of JFileSystem limitations