Fix intial value for stats_item_total

This commit is contained in:
yhirose 2022-06-03 08:35:36 -04:00
parent de2f887c4f
commit 633fcd72cb

View File

@ -190,7 +190,7 @@ int main(int argc, const char **argv) {
}; };
std::vector<StatsItem> stats; std::vector<StatsItem> stats;
std::map<std::string, size_t> stats_index; std::map<std::string, size_t> stats_index;
size_t stats_item_total = false; size_t stats_item_total = 0;
if (opt_profile) { if (opt_profile) {
parser.enable_trace( parser.enable_trace(