diff options
author | Kevin Wojniak <kainjow@kainjow.com> | 2015-12-01 20:16:20 -0800 |
---|---|---|
committer | Kevin Wojniak <kainjow@kainjow.com> | 2015-12-01 20:16:20 -0800 |
commit | 408f0d1f7c39bc73d9d16c06d0e6c4ee0d64915c (patch) | |
tree | f26a6da05ff4119bad46eef485cc339a49afd07d /src | |
parent | b5a8a8b324704420d1f622b3d081ad2fb7156bf3 (diff) |
Fix "declaration shadows a local variable"
Diffstat (limited to 'src')
-rw-r--r-- | src/commonmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c index 9a029cd..5c08589 100644 --- a/src/commonmark.c +++ b/src/commonmark.c @@ -230,7 +230,7 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node, case CMARK_NODE_HEADER: if (entering) { - for (int i = cmark_node_get_header_level(node); i > 0; i--) { + for (i = cmark_node_get_header_level(node); i > 0; i--) { LIT("#"); } LIT(" "); |