Skip to content

Commit c57045b

Browse files
committed
cat: remove unused variables
Signed-off-by: Eduardo Silva <[email protected]>
1 parent d207d75 commit c57045b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/cmt_cat.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,20 +346,16 @@ int cmt_cat_untyped(struct cmt *cmt, struct cmt_untyped *untyped,
346346
int cmt_cat_histogram(struct cmt *cmt, struct cmt_histogram *histogram,
347347
struct cmt_map *filtered_map)
348348
{
349-
int i;
350-
double val;
351349
int ret;
352350
char **labels = NULL;
353351
struct cmt_map *map;
354352
struct cmt_opts *opts;
355353
struct cmt_histogram *hist;
356-
uint64_t timestamp;
357354
struct cmt_histogram_buckets *buckets;
358355
int64_t buckets_count;
359356

360357
map = histogram->map;
361358
opts = map->opts;
362-
timestamp = cmt_metric_get_timestamp(&map->metric);
363359

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

0 commit comments

Comments
 (0)