Skip to content

Commit 95d9514

Browse files
committed
input_chunk: remove unused variables
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 809235e commit 95d9514

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/flb_input_chunk.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ struct flb_input_chunk *flb_input_chunk_map(struct flb_input_instance *in,
7979
{
8080
#ifdef FLB_HAVE_METRICS
8181
int ret;
82-
int records;
8382
char *buf_data;
8483
size_t buf_size;
8584
#endif
@@ -412,10 +411,6 @@ int flb_input_chunk_append_raw(struct flb_input_instance *in,
412411
struct flb_input_chunk *ic;
413412
struct flb_storage_input *si;
414413

415-
#ifdef FLB_HAVE_METRICS
416-
int records;
417-
#endif
418-
419414
/* Check if the input plugin has been paused */
420415
if (flb_input_buf_paused(in) == FLB_TRUE) {
421416
flb_debug("[input chunk] %s is paused, cannot append records",

0 commit comments

Comments
 (0)