diff options
author | Gert Wollny <[email protected]> | 2018-06-05 13:59:05 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-06-20 11:08:28 +0200 |
commit | 33f4e8a04396e3b2b3a8fd79e79fc6f268ee9653 (patch) | |
tree | 94e2dead4c80ca4d31dd56dcced873a37bde2249 /src/gallium/auxiliary/util/u_surfaces.h | |
parent | 70f632962ac6d42f39ae762065caa049fc6352fd (diff) |
gallium/aux/util/u_debug.h: Fix "noreturn" warnings in debug mode
Only decorate function as noreturn when DEBUG is not defined, because
when compiled in DEBUG mode the function actually executes an int3 and
may return, fixes:
u_debug.c: In function '_debug_assert_fail':
u_debug.c:309:1: warning: 'noreturn' function does return
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_surfaces.h')
0 files changed, 0 insertions, 0 deletions