summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_string.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-10-04 21:59:24 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-10-04 22:03:16 +0100
commit7a2271c65963c86ec1e5d9523b2eecf9ee59fe9d (patch)
tree042e11fc827b760c1faeb13421bc3081d11852bd /src/gallium/auxiliary/util/u_string.h
parent77ef7050587bba43c219e9d22170237898b2bb23 (diff)
util: Make assert a no-op on non-debug builds.
This ensures that an assertion like assert(expensive_test()); won't have any penalty on release builds. It also implies that no vital code should be in assert expressions.
Diffstat (limited to 'src/gallium/auxiliary/util/u_string.h')
0 files changed, 0 insertions, 0 deletions