diff options
author | José Fonseca <[email protected]> | 2013-04-17 13:32:46 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-04-17 16:50:52 +0100 |
commit | 35ef27d485367ffede9f478c9865515814e119b7 (patch) | |
tree | 701ee18ed6e2a21d887bb3f1011723663cb643cf /src/gallium/auxiliary/draw/draw_llvm.c | |
parent | 2b9ed257c0c4db879970afb2c5981c59ca70c21b (diff) |
draw: Silence uninitialized var warnings.
Trivial.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_llvm.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 5100ce0039c..0e349783198 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++ b/src/gallium/auxiliary/draw/draw_llvm.c @@ -1742,6 +1742,9 @@ draw_llvm_set_mapped_texture(struct draw_context *draw, assert(sview_idx < Elements(draw->llvm->gs_jit_context.textures)); jit_tex = &draw->llvm->gs_jit_context.textures[sview_idx]; + } else { + assert(0); + return; } jit_tex->width = width; |