diff options
| author | 2022-12-14 04:55:47 +0100 | |
|---|---|---|
| committer | 2022-12-14 04:55:47 +0100 | |
| commit | 645e7ec43e24600c8a3ecab3e43b07a6dbc91eb4 (patch) | |
| tree | c964f5950b6519d37d932fb059972c1b5fd56ee0 /format.c | |
| parent | Updated TODO. (diff) | |
| download | snac2-645e7ec43e24600c8a3ecab3e43b07a6dbc91eb4.tar.gz snac2-645e7ec43e24600c8a3ecab3e43b07a6dbc91eb4.tar.xz snac2-645e7ec43e24600c8a3ecab3e43b07a6dbc91eb4.zip | |
Some code reordering to placate scan-build's wrath.
Diffstat (limited to 'format.c')
| -rw-r--r-- | format.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -98,8 +98,9 @@ d_char *not_really_markdown(const char *content) | |||
| 98 | char *p, *v; | 98 | char *p, *v; |
| 99 | 99 | ||
| 100 | /* work by lines */ | 100 | /* work by lines */ |
| 101 | p = list = xs_split(content, "\n"); | 101 | list = xs_split(content, "\n"); |
| 102 | 102 | ||
| 103 | p = list; | ||
| 103 | while (xs_list_iter(&p, &v)) { | 104 | while (xs_list_iter(&p, &v)) { |
| 104 | xs *ss = NULL; | 105 | xs *ss = NULL; |
| 105 | 106 | ||