termux-packages/packages/nsis/Source-ResourceEditor.cpp.p...

12 lines
308 B
Diff
Raw Normal View History

2022-03-27 00:01:43 +01:00
--- a/Source/ResourceEditor.cpp
+++ b/Source/ResourceEditor.cpp
@@ -913,7 +913,7 @@
}
FILEVIEW &map = *(FILEVIEW*) &X.Map;
- size_t datasize;
+ size_t datasize = 0;
char *filedata = create_file_view_readonly(File, map), *data = 0, *dataalloc = 0;
if (filedata) {
if (resproto) {