[Piglit] [PATCH] arb_color_buffer_float-render: Remove dead code.
Vinson Lee
vlee at vmware.com
Sat Dec 3 23:13:45 PST 2011
Fixes Coverity logically dead code defect.
Signed-off-by: Vinson Lee <vlee at vmware.com>
---
tests/spec/arb_color_buffer_float/render.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/spec/arb_color_buffer_float/render.c b/tests/spec/arb_color_buffer_float/render.c
index 97e5948..302a522 100644
--- a/tests/spec/arb_color_buffer_float/render.c
+++ b/tests/spec/arb_color_buffer_float/render.c
@@ -196,7 +196,7 @@ GLboolean test_one(unsigned vert_clamp, unsigned frag_clamp, unsigned semantic,
}
if (!opass) {
- printf("%s: %s\n", (cpass ? "PASS" : (opass ? "XFAIL" : "FAIL")), test_name);
+ printf("%s: %s\n", (cpass ? "PASS" : "FAIL"), test_name);
printf(" Expected: %f %f %f %f\n", expected[0], expected[1], expected[2], expected[3]);
printf(" Observed: %f %f %f %f\n", probe[0], probe[1], probe[2], probe[3]);
--
1.7.7.3
More information about the Piglit
mailing list