summaryrefslogtreecommitdiffstats
path: root/src/cc4group.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc4group.c')
-rw-r--r--src/cc4group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cc4group.c b/src/cc4group.c
index c3454f8..0483eea 100644
--- a/src/cc4group.c
+++ b/src/cc4group.c
@@ -2529,6 +2529,7 @@ static bool cc4group_saveWithWriteCallback(CC4Group* const this, CC4Group_WriteC
return false;
}
+ bool success = false;
bool deflateStarted = false;
int ret = deflateInit2(&callback.gzStream, 9, Z_DEFLATED, 15 + 16, 9, Z_DEFAULT_STRATEGY);
if(ret != Z_OK)
@@ -2546,7 +2547,6 @@ static bool cc4group_saveWithWriteCallback(CC4Group* const this, CC4Group_WriteC
goto ret;
}
- bool success = false;
cc4group_calculateEntrySizes(this, &this->root);
cc4group_calculateEntryCRC(this, &this->root);