Skip to content

Commit e343675

Browse files
committed
Merge pull request commonmark#94 from kainjow/patch-1
Fix "declaration shadows a local variable"
2 parents b5a8a8b + 408f0d1 commit e343675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commonmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node,
230230

231231
case CMARK_NODE_HEADER:
232232
if (entering) {
233-
for (int i = cmark_node_get_header_level(node); i > 0; i--) {
233+
for (i = cmark_node_get_header_level(node); i > 0; i--) {
234234
LIT("#");
235235
}
236236
LIT(" ");

0 commit comments

Comments
 (0)