Skip to content

Commit

Permalink
block: fix missing return statement
Browse files Browse the repository at this point in the history
No return statement in block_send_json that is supposed to return an
int.
  • Loading branch information
gportay committed Jan 3, 2019
1 parent c42bb1b commit 63d4da8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ static int block_send_json(struct block *block)
dprintf(block->in[1], "{\"\":\"\"");
block_for_each(block, block_send_key, block);
dprintf(block->in[1], "}\n");
return 0;
}

/* Push data to forked process through the open stdin pipe */
Expand Down

0 comments on commit 63d4da8

Please sign in to comment.