Skip to content

Commit

Permalink
cat: remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Aug 13, 2024
1 parent d207d75 commit c57045b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/cmt_cat.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,20 +346,16 @@ int cmt_cat_untyped(struct cmt *cmt, struct cmt_untyped *untyped,
int cmt_cat_histogram(struct cmt *cmt, struct cmt_histogram *histogram,
struct cmt_map *filtered_map)
{
int i;
double val;
int ret;
char **labels = NULL;
struct cmt_map *map;
struct cmt_opts *opts;
struct cmt_histogram *hist;
uint64_t timestamp;
struct cmt_histogram_buckets *buckets;
int64_t buckets_count;

map = histogram->map;
opts = map->opts;
timestamp = cmt_metric_get_timestamp(&map->metric);

ret = cmt_cat_copy_label_keys(map, (char **) &labels);
if (ret == -1) {
Expand Down

0 comments on commit c57045b

Please sign in to comment.