From: Brian Paul Date: Sat, 25 Apr 2015 02:04:29 +0000 (-0600) Subject: mesa: remove unused options var in compile_shader() X-Git-Tag: upstream/17.1.0~19205 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c1be009b7c34dce55be83ae2a955dd8a37e230a;p=platform%2Fupstream%2Fmesa.git mesa: remove unused options var in compile_shader() Reviewed-by: Anuj Phogat --- diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index cc001ba..a04b287 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -861,14 +861,11 @@ static void compile_shader(struct gl_context *ctx, GLuint shaderObj) { struct gl_shader *sh; - struct gl_shader_compiler_options *options; sh = _mesa_lookup_shader_err(ctx, shaderObj, "glCompileShader"); if (!sh) return; - options = &ctx->Const.ShaderCompilerOptions[sh->Stage]; - if (!sh->Source) { /* If the user called glCompileShader without first calling * glShaderSource, we should fail to compile, but not raise a GL_ERROR.