diff options
author | Vinson Lee <vlee@freedesktop.org> | 2015-01-08 14:42:34 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2015-01-08 15:49:44 -0800 |
commit | 5915ec6d91f9e5490b2a8d4854539bee5cf1a93f (patch) | |
tree | fc23aaec902614d3b1ddf108701191be5b3c87b4 /tests/general | |
parent | c79775754cac3a3949584833e4ff5de6485448dd (diff) |
framebuffer-srgb: Remove dead assignment.
Fix Clang Static Analyzer dead assignment bug.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'tests/general')
-rw-r--r-- | tests/general/framebuffer-srgb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general/framebuffer-srgb.c b/tests/general/framebuffer-srgb.c index 9f88df7d7..5944a075d 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); + (void) glIsEnabled(GL_FRAMEBUFFER_SRGB_EXT); /* ignore return value */ ret = glGetError(); if (ret != 0) { printf("unexpected error getting IsEnabled %d\n", ret); |