summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-28 12:11:55 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-28 12:11:55 -0800
commit3f251cdca271ddb79d06fb8fc101499d0e9a3021 (patch)
tree929f909cabd51ce9b37053513d78a5de8fb9cd57 /src
parentbc61ae39e0370d642d75f136c9adbd07cce1818f (diff)
Removed unnecessary assignment.
Clang static analyzer pointed out that the value assigned to 'pos' is never read.
Diffstat (limited to 'src')
-rw-r--r--src/blocks.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/blocks.c b/src/blocks.c
index 09a9306..b51179b 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -182,7 +182,6 @@ static void finalize(cmark_doc_parser *parser, cmark_node* b, int line_number)
switch (b->type) {
case NODE_PARAGRAPH:
- pos = 0;
while (strbuf_at(&b->string_content, 0) == '[' &&
(pos = cmark_parse_reference_inline(&b->string_content, parser->refmap))) {