util/ralloc: Don't define assert with magic member without DEBUG
authorDylan Baker <dylan@pnwbakers.com>
Wed, 20 Sep 2017 17:52:40 +0000 (10:52 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 27 Sep 2017 16:07:28 +0000 (09:07 -0700)
commitc8b9cf429f9b2ce1cd17759eecbdbb0482ab271c
tree55740ab9a6a18e86919b2401859075b65ff25034
parent848da662224326ccfbe6647bc82f4f89ca22c762
util/ralloc: Don't define assert with magic member without DEBUG

It is possible to have DEBUG disabled but asserts on (NDEBUG), which
cannot build because these asserts work on members that are only present
when DEBUG is on.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
src/util/ralloc.c