Skip to content

Commit

Permalink
in_tail: multiline: fix compiler warning
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Jul 16, 2024
1 parent 94f0de1 commit 5bda4c7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/in_tail/tail_multiline.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,20 +341,14 @@ static int flb_tail_mult_pack_line_body(
msgpack_object entry_value;
msgpack_object entry_key;
msgpack_object_map *data_map;
int map_size;
size_t offset;
struct flb_tail_config *config;
int result;

result = FLB_EVENT_ENCODER_SUCCESS;
config = (struct flb_tail_config *) file->config;

/* New Map size */
map_size = file->mult_keys;

if (file->config->path_key != NULL) {
map_size++;

result = flb_log_event_encoder_append_body_values(
context,
FLB_LOG_EVENT_CSTRING_VALUE(config->path_key),
Expand Down

0 comments on commit 5bda4c7

Please sign in to comment.