From ce67c0804eddf03abf564b55b0dc5adcc3ca62e2 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 25 Dec 2019 02:19:41 +1000 Subject: [PATCH] Disable profile trace logs on static initiation functions --- qcsrc/lib/static.qh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/lib/static.qh b/qcsrc/lib/static.qh index e0ec96b8e..e1879890e 100644 --- a/qcsrc/lib/static.qh +++ b/qcsrc/lib/static.qh @@ -17,8 +17,8 @@ void profile(string s) } #define _STATIC_INIT(func, where) \ - ACCUMULATE void _static_##func##profile() { profile(#func); } \ - ACCUMULATE_FUNCTION(where, _static_##func##profile) \ + /* ACCUMULATE void _static_##func##profile() { profile(#func); } */ \ + /* ACCUMULATE_FUNCTION(where, _static_##func##profile) */ \ ACCUMULATE void _static_##func(); \ ACCUMULATE_FUNCTION(where, _static_##func) \ void _static_##func() -- 2.39.2