summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-02-22 20:25:28 -0800
committerMatt Turner <[email protected]>2015-02-23 10:49:57 -0800
commit57d80d11b1ecc45dc38c1fbf3d92413fa847a513 (patch)
treea355f771f630e09049a6c52b5eaa61c137533e0e /src
parentbb2a897dbc8064ccd38ecbf3f484abc0b900a862 (diff)
mesa/vbo: Use unreachable to silence uninitialized var warning.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-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)) {