You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/02/13 09:21:40 UTC
[11/33] incubator-corinthia git commit: Fix build on windows (VC++
parser error)
Fix build on windows (VC++ parser error)
Forgot to add a ;; required to get around a bug in the Visual C++ parser
in the case where a single-line if body immediately precedes a line
containing a variable declaration with a typedef'd type.
Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/22947efb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/22947efb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/22947efb
Branch: refs/heads/experiment64
Commit: 22947efbb19452866cf838ca114341253be03011
Parents: cd6ccd0
Author: Peter Kelly <pe...@uxproductivity.com>
Authored: Sun Jan 11 01:18:51 2015 +0700
Committer: Peter Kelly <pe...@uxproductivity.com>
Committed: Sun Jan 11 01:18:51 2015 +0700
----------------------------------------------------------------------
DocFormats/filters/ooxml/tests/word/WordPlain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/22947efb/DocFormats/filters/ooxml/tests/word/WordPlain.c
----------------------------------------------------------------------
diff --git a/DocFormats/filters/ooxml/tests/word/WordPlain.c b/DocFormats/filters/ooxml/tests/word/WordPlain.c
index b1f4d4b..9857817 100644
--- a/DocFormats/filters/ooxml/tests/word/WordPlain.c
+++ b/DocFormats/filters/ooxml/tests/word/WordPlain.c
@@ -110,7 +110,7 @@ static char *computeDocumentRelsPath(const char *documentPath)
static void parseDocumentRels(const char *documentPath, DFDocument *relsDoc, DFHashTable *rels, DFError **error)
{
if (relsDoc == NULL)
- return;
+ return;;
const char *basePrefix = (documentPath[0] == '/') ? "" : "/";
char *basePath = DFFormatString("%s%s",basePrefix,documentPath);
for (DFNode *child = relsDoc->root->first; child != NULL; child = child->next) {