Commit a0e39977 authored by Vinson Lee's avatar Vinson Lee
Browse files

glx_arb_create_context: Remove dead code.



Fixes Coverity logically dead code defect.
Signed-off-by: default avatarVinson Lee <vlee@vmware.com>
parent 87a318f8
......@@ -33,7 +33,6 @@ int main(int argc, char **argv)
const char *version_string;
int major;
int minor;
bool pass = true;
GLX_ARB_create_context_setup();
......@@ -82,6 +81,6 @@ int main(int argc, char **argv)
done:
GLX_ARB_create_context_teardown();
piglit_report_result(pass ? PIGLIT_PASS : PIGLIT_FAIL);
piglit_report_result(PIGLIT_PASS);
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment