summaryrefslogtreecommitdiff
path: root/keywords.c
diff options
context:
space:
mode:
Diffstat (limited to 'keywords.c')
-rw-r--r--keywords.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/keywords.c b/keywords.c
index 7dd35b1..b401690 100644
--- a/keywords.c
+++ b/keywords.c
@@ -104,14 +104,7 @@ keywordlist *get_keywords(paragraph *source) {
*/
source->kwtext = number_mktext(n, source->type, source->aux,
prevpara, &source->kwtext2,
- source->fpos);
- if (!source->kwtext) {
- /* There was an error collecting the section numbers.
- * number_mktext has reported it; we record it and bail
- * out at the end. */
- errors = TRUE;
- continue;
- }
+ source->fpos, &errors);
prevpara = source->type;
if (source->keyword && *source->keyword) {