diff --git a/include/fluent-bit/flb_input.h b/include/fluent-bit/flb_input.h index 9140b1dc71f..0b69f8cca9a 100644 --- a/include/fluent-bit/flb_input.h +++ b/include/fluent-bit/flb_input.h @@ -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);