mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
util: Define dump_cpu only for DEBUG builds.
dump_cpu is used only when DEBUG is defined. Fixes the following GCC warning on builds without DEBUG defined. util/u_cpu_detect.c:76: warning: 'debug_get_option_dump_cpu' defined but not used
This commit is contained in:
parent
2a7493ada4
commit
0f3b3751b8
1 changed files with 2 additions and 0 deletions
|
|
@ -73,7 +73,9 @@
|
|||
#endif
|
||||
|
||||
|
||||
#if DEBUG
|
||||
DEBUG_GET_ONCE_BOOL_OPTION(dump_cpu, "GALLIUM_DUMP_CPU", FALSE)
|
||||
#endif
|
||||
|
||||
|
||||
struct util_cpu_caps util_cpu_caps;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue