[Piglit] [PATCH] framebuffer-srgb: Remove dead assignment.
Vinson Lee
vlee at freedesktop.org
Thu Jan 8 14:45:31 PST 2015
Fix Clang Static Analyzer dead assignment bug.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/general/framebuffer-srgb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/general/framebuffer-srgb.c b/tests/general/framebuffer-srgb.c
index 9f88df7..880adaf 100644
--- a/tests/general/framebuffer-srgb.c
+++ b/tests/general/framebuffer-srgb.c
@@ -99,7 +99,7 @@ framebuffer_srgb_api_ext(void)
pass = GL_FALSE;
}
- is_enabled = glIsEnabled(GL_FRAMEBUFFER_SRGB_EXT);
+ glIsEnabled(GL_FRAMEBUFFER_SRGB_EXT);
ret = glGetError();
if (ret != 0) {
printf("unexpected error getting IsEnabled %d\n", ret);
--
2.1.0
More information about the Piglit
mailing list