projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9539870
)
Disable profile trace logs on static initiation functions
author
Mario <mario.mario@y7mail.com>
Tue, 24 Dec 2019 16:19:41 +0000
(
02:19
+1000)
committer
Mario <mario.mario@y7mail.com>
Tue, 24 Dec 2019 16:19:41 +0000
(
02:19
+1000)
qcsrc/lib/static.qh
patch
|
blob
|
history
diff --git
a/qcsrc/lib/static.qh
b/qcsrc/lib/static.qh
index e0ec96b8ec0c43872992e12523329c0be74e8f5d..e1879890e8521dfe9c5173c209aee501c89da628 100644
(file)
--- 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()