summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Wojniak <kainjow@kainjow.com>2015-12-01 20:16:20 -0800
committerKevin Wojniak <kainjow@kainjow.com>2015-12-01 20:16:20 -0800
commit408f0d1f7c39bc73d9d16c06d0e6c4ee0d64915c (patch)
treef26a6da05ff4119bad46eef485cc339a49afd07d /src
parentb5a8a8b324704420d1f622b3d081ad2fb7156bf3 (diff)
Fix "declaration shadows a local variable"
Diffstat (limited to 'src')
-rw-r--r--src/commonmark.c2
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(" ");