summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-12-14 04:55:47 +0100
committerdefault <nobody@localhost>2022-12-14 04:55:47 +0100
commit645e7ec43e24600c8a3ecab3e43b07a6dbc91eb4 (patch)
treec964f5950b6519d37d932fb059972c1b5fd56ee0 /format.c
parentf5086fecd74310ad9be959a308bd15046cc3d4f1 (diff)
Some code reordering to placate scan-build's wrath.
Diffstat (limited to 'format.c')
-rw-r--r--format.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/format.c b/format.c
index d149def..7ded83c 100644
--- a/format.c
+++ b/format.c
@@ -98,8 +98,9 @@ d_char *not_really_markdown(const char *content)
char *p, *v;
/* work by lines */
- p = list = xs_split(content, "\n");
+ list = xs_split(content, "\n");
+ p = list;
while (xs_list_iter(&p, &v)) {
xs *ss = NULL;