mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 17:04:50 +00:00
neaten
This commit is contained in:
parent
261a5337bd
commit
e5392e14a3
1 changed files with 1 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue