<div dir="ltr"><div>Fine with me<br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 19, 2015 at 1:48 PM, Vinson Lee <span dir="ltr"><<a href="mailto:vlee@freedesktop.org" target="_blank">vlee@freedesktop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Silence Coverity "missing break in switch" defects.<br>
<br>
Signed-off-by: Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>><br>
---<br>
tests/spec/arb_copy_image/targets.c | 2 ++<br>
1 file changed, 2 insertions(+)<br>
<br>
diff --git a/tests/spec/arb_copy_image/targets.c b/tests/spec/arb_copy_image/targets.c<br>
index 86edeca..333631c 100644<br>
--- a/tests/spec/arb_copy_image/targets.c<br>
+++ b/tests/spec/arb_copy_image/targets.c<br>
@@ -65,12 +65,14 @@ image_init(struct image *image, GLenum target, int width, int height, int depth)<br>
switch (target) {<br>
case GL_TEXTURE_CUBE_MAP:<br>
assert(depth == 6);<br>
+ /* Fall through. */<br>
case GL_TEXTURE_CUBE_MAP_ARRAY_ARB:<br>
assert(width == height);<br>
assert(depth % 6 == 0);<br>
break;<br>
case GL_TEXTURE_1D:<br>
assert(height == 1);<br>
+ /* Fall through. */<br>
case GL_TEXTURE_2D:<br>
case GL_TEXTURE_RECTANGLE:<br>
assert(depth == 1);<br>
--<br>
</div></div>2.2.1<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/piglit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</div></div></blockquote></div><br></div>