Skip to content

Commit

Permalink
input: added missing initializer (CID 508207) (#9332)
Browse files Browse the repository at this point in the history
* input: added missing initializer

Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored Sep 12, 2024
1 parent 3fc9f0b commit 7f20490
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/fluent-bit/flb_input.h
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,8 @@ static inline int flb_input_config_map_set(struct flb_input_instance *ins,
{
int ret;

ret = -1;

/* Process normal properties */
if (ins->config_map) {
ret = flb_config_map_set(&ins->properties, ins->config_map, context);
Expand Down

0 comments on commit 7f20490

Please sign in to comment.