OSDN Git Service

util: Define dump_cpu only for DEBUG builds.
authorVinson Lee <vlee@vmware.com>
Sun, 22 Aug 2010 06:28:52 +0000 (23:28 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 22 Aug 2010 06:28:52 +0000 (23:28 -0700)
commit0f3b3751b8643352dcc242567b3696bd1505df1d
tree0a060dedbf79c6f4bf5cc6a61cec0f907fa10b37
parent2a7493ada4503db855ed35031d48fcf2a31eded3
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
src/gallium/auxiliary/util/u_cpu_detect.c