From: Mario Date: Tue, 24 Dec 2019 16:19:41 +0000 (+1000) Subject: Disable profile trace logs on static initiation functions X-Git-Tag: xonotic-v0.8.5~1190 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ce67c0804eddf03abf564b55b0dc5adcc3ca62e2;p=xonotic%2Fxonotic-data.pk3dir.git Disable profile trace logs on static initiation functions --- 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()