summaryrefslogtreecommitdiffstats
path: root/o3d/import/cross/zip_archive.cc
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/import/cross/zip_archive.cc')
-rw-r--r--o3d/import/cross/zip_archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/import/cross/zip_archive.cc b/o3d/import/cross/zip_archive.cc
index 946915c..a71d7d4 100644
--- a/o3d/import/cross/zip_archive.cc
+++ b/o3d/import/cross/zip_archive.cc
@@ -295,7 +295,7 @@ char *ZipArchive::GetFileData(const string &filename, size_t *size) {
result = unzOpenCurrentFilePassword(uf, NULL);
- char *buffer;
+ char *buffer = NULL;
if (result == UNZ_OK) {
const int kBufferChunkSize = 32768;