You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by pm...@apache.org on 2015/01/02 14:50:15 UTC
[06/10] incubator-corinthia git commit: DFextZipClose: Fix
uninitialised variable warning
DFextZipClose: Fix uninitialised variable warning
Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/c1c87be9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/c1c87be9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/c1c87be9
Branch: refs/heads/stable
Commit: c1c87be91413893b0e3873440b5f730196115802
Parents: 7208df5
Author: Peter Kelly <pe...@uxproductivity.com>
Authored: Fri Jan 2 20:15:49 2015 +0700
Committer: Peter Kelly <pe...@uxproductivity.com>
Committed: Fri Jan 2 20:15:49 2015 +0700
----------------------------------------------------------------------
DocFormats/platform/src/Wrapper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/c1c87be9/DocFormats/platform/src/Wrapper.c
----------------------------------------------------------------------
diff --git a/DocFormats/platform/src/Wrapper.c b/DocFormats/platform/src/Wrapper.c
index d27be99..1701d9d 100644
--- a/DocFormats/platform/src/Wrapper.c
+++ b/DocFormats/platform/src/Wrapper.c
@@ -44,7 +44,7 @@ DFextZipHandleP DFextZipOpen(const char *zipFilename, int doUnzip) {
int DFextZipClose(DFextZipHandleP zipHandle)
{
- int rc;
+ int rc = 0;
if (zipHandle->handle) {
if (zipHandle->zipFlag)