summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2011-10-13 15:29:07 +0100
committerNeil Roberts <neil@linux.intel.com>2011-10-17 14:02:22 +0100
commitfe5760bd1ad85731a3b4512fb8da1ac68d48deed (patch)
tree642aebb29b079d14d544b7dc383a53e8953f5992
parent7b0f140cff043c13dfb49de016780a19aec45672 (diff)
downloadcogl-fe5760bd1ad85731a3b4512fb8da1ac68d48deed.tar.gz
build: removes unused variable i to avoid compiler warning
Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 8325ca00b8b04f65ab833714cfa2b43094676cbc)
-rw-r--r--cogl/cogl-pipeline-fragend-arbfp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cogl/cogl-pipeline-fragend-arbfp.c b/cogl/cogl-pipeline-fragend-arbfp.c
index 6b4f9d14..11538a0d 100644
--- a/cogl/cogl-pipeline-fragend-arbfp.c
+++ b/cogl/cogl-pipeline-fragend-arbfp.c
@@ -239,8 +239,6 @@ _cogl_pipeline_fragend_arbfp_start (CoglPipeline *pipeline,
shader_state->user_program = user_program;
if (user_program == COGL_INVALID_HANDLE)
{
- int i;
-
/* We reuse a single grow-only GString for code-gen */
g_string_set_size (ctx->codegen_source_buffer, 0);
shader_state->source = ctx->codegen_source_buffer;