[Pixman] [PATCH] test: Add missing break in stress-test.c

Søren Sandmann sandmann at cs.au.dk
Tue Jun 12 19:07:01 PDT 2012


From: Søren Sandmann Pedersen <ssp at redhat.com>

Found by coverity:

 https://bugzilla.redhat.com/show_bug.cgi?id=756069
---
 test/stress-test.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/test/stress-test.c b/test/stress-test.c
index 0b48da3..7fc067e 100644
--- a/test/stress-test.c
+++ b/test/stress-test.c
@@ -412,6 +412,7 @@ set_general_properties (pixman_image_t *image, pixman_bool_t allow_alpha_map)
 
 	case 6: case 7:
 	    n_rects = 3;
+	    break;
 
 	default:
 	    n_rects = lcg_rand_n (100);
-- 
1.7.10.2



More information about the Pixman mailing list