Fix intial value for stats_item_total

pull/219/head
yhirose 2 years ago
parent de2f887c4f
commit 633fcd72cb
  1. 2
      lint/peglint.cc

@ -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(

Loading…
Cancel
Save