*/
int main(int argc, char **argv)
{
- struct filemap_monitor fm;
-
- memset(&fm, 0, sizeof(fm));
+ struct filemap_monitor fm = { 0 };
if (!_parse_args(argc, argv, &fm)) {
free(fm.path);
uint64_t scale = region->timescale, this_val = 0;
struct dm_pool *mem = dms->hist_mem;
struct dm_histogram_bin cur;
- struct dm_histogram hist;
+ struct dm_histogram hist = { 0 };
int nr_bins = 1;
const char *c, *v, *val_start;
char *p, *endptr = NULL;
if (!dm_pool_begin_object(mem, sizeof(cur)))
return_0;
- memset(&hist, 0, sizeof(hist));
-
hist.nr_bins = 0; /* fix later */
hist.region = region;
hist.dms = dms;