summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-02-22 20:25:28 -0800
committerMatt Turner <mattst88@gmail.com>2015-02-23 10:49:57 -0800
commit57d80d11b1ecc45dc38c1fbf3d92413fa847a513 (patch)
treea355f771f630e09049a6c52b5eaa61c137533e0e /src/mesa/vbo
parentbb2a897dbc8064ccd38ecbf3f484abc0b900a862 (diff)
mesa/vbo: Use unreachable to silence uninitialized var warning.
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r--src/mesa/vbo/vbo_exec_array.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index c16fe77ee09..b547e4e1dd9 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -181,8 +181,7 @@ vbo_get_minmax_index(struct gl_context *ctx,
break;
}
default:
- assert(0);
- break;
+ unreachable("not reached");
}
if (_mesa_is_bufferobj(ib->obj)) {