mirror of
https://github.com/glest/glest-source.git
synced 2025-09-27 07:59:00 +02:00
- bugfixes for coverity reported issues
- new bash parameters for build-mg.sh (in prep for coverity automation) - updated travis build to use new bash param
This commit is contained in:
@@ -151,6 +151,7 @@ int zipfile_tool(int argc, const char *argv[]) {
|
||||
|
||||
if (deflateInit(&stream, level) != Z_OK) {
|
||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("deflateInit() failed!\n");
|
||||
if(pInfile) fclose(pInfile);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
@@ -217,6 +218,7 @@ int zipfile_tool(int argc, const char *argv[]) {
|
||||
|
||||
if (fread(s_inbuf, 1, n, pInfile) != n) {
|
||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("Failed reading from input file!\n");
|
||||
if(pOutfile) fclose(pOutfile);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user