diff options
author | Vinson Lee <[email protected]> | 2012-01-15 23:08:26 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2012-01-16 12:41:55 -0800 |
commit | eeff1ee7466d5de7764bcd7ad4d7be4d76aa738c (patch) | |
tree | e7fdaae525c1b8b92368ad1c9cb7d6ef654e2a12 /src/gallium/auxiliary/util | |
parent | 455090c4c42cc7003594a750105980b125e140d4 (diff) |
util: Silence GCC unused-but-set-variable warning.
Fix this GCC 4.6 warning with 64-bit builds.
u_debug_stack.c: In function ‘debug_backtrace_capture’:
u_debug_stack.c:45:17: warning: variable ‘frame_pointer’ set but not
used [-Wunused-but-set-variable]
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug_stack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_stack.c b/src/gallium/auxiliary/util/u_debug_stack.c index 24e039fd226..558b911f2dd 100644 --- a/src/gallium/auxiliary/util/u_debug_stack.c +++ b/src/gallium/auxiliary/util/u_debug_stack.c @@ -86,6 +86,8 @@ debug_backtrace_capture(struct debug_stack_frame *backtrace, frame_pointer = next_frame_pointer; } +#else + (void) frame_pointer; #endif while(nr_frames) { |