Skip to content

Commit ef50f40

Browse files
committed
Dumping time profile data only when the profiling is enabled.
1 parent 0b4b656 commit ef50f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/taint-analysis/taint_security_scanner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ bool taint_do_security_scan(
337337

338338
logger.status() << "The security scanner has finished successfully."
339339
<< messaget::eom;
340-
tmprof_dump_as_json(
340+
TMPROF_DUMP(
341341
boost::filesystem::path(config.get_output_root_directory()) /
342342
"TMPROF.json");
343343
return true;

0 commit comments

Comments
 (0)