From e5392e14a37aaefb752fc00a45fd00d3f16f4085 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Fri, 11 Dec 2015 17:38:18 -0500 Subject: [PATCH] neaten --- c/mapping/mapper_head.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/c/mapping/mapper_head.c b/c/mapping/mapper_head.c index 1765ca0d8..cfb0509de 100644 --- a/c/mapping/mapper_head.c +++ b/c/mapping/mapper_head.c @@ -85,8 +85,6 @@ static void mapper_head_free(void* pvstate) { } // ---------------------------------------------------------------- -// xxx if empty key then make a way to communicate back to the reader that it -// can stop reading further records -- ? static sllv_t* mapper_head_process(lrec_t* pinrec, context_t* pctx, void* pvstate) { mapper_head_state_t* pstate = pvstate; if (pinrec != NULL) { @@ -108,8 +106,7 @@ static sllv_t* mapper_head_process(lrec_t* pinrec, context_t* pctx, void* pvstat return NULL; } } - } - else { + } else { return sllv_single(NULL); } }