Skip to content

Commit

Permalink
out_logdna: remove unused store
Browse files Browse the repository at this point in the history
`len` is assigned but never used. No need for the operations related to
this.

Signed-off-by: David Korczynski <[email protected]>
  • Loading branch information
DavidKorczynski committed Jun 30, 2023
1 parent b266d46 commit 542dfa4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/out_logdna/logdna.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ static struct flb_logdna *logdna_config_create(struct flb_output_instance *ins,
tmp = NULL;
hostname = (char *) flb_env_get(config->env, "HOSTNAME");
if (hostname) {
len = strlen(hostname);
ctx->_hostname = flb_sds_create(hostname);
}
else {
Expand Down

0 comments on commit 542dfa4

Please sign in to comment.