Commit b00392c1b0e1a7d0413d4dba442e5bd1c4e439a4

Martin Mitas 2016-11-21T02:48:29

Fix gcc warning in Release build.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/md4c/md4c.c b/md4c/md4c.c
index 184ce7c..927a046 100644
--- a/md4c/md4c.c
+++ b/md4c/md4c.c
@@ -2740,7 +2740,7 @@ md_resolve_links(MD_CTX* ctx, const MD_LINE* lines, int n_lines)
         } else {
             if(closer->end < ctx->size  &&  CH(closer->end) == _T('(')) {
                 /* Might be inline link. */
-                OFF inline_link_end;
+                OFF inline_link_end = -1;
 
                 is_link = md_is_inline_link_spec(ctx, lines, n_lines, closer->end, &inline_link_end, &attr);
                 if(is_link < 0)