[cogl] build: removes unused variable i to avoid compiler warning



commit 8325ca00b8b04f65ab833714cfa2b43094676cbc
Author: Robert Bragg <robert linux intel com>
Date:   Thu Oct 13 15:29:07 2011 +0100

    build: removes unused variable i to avoid compiler warning
    
    Reviewed-by: Neil Roberts <neil linux intel com>

 cogl/cogl-pipeline-fragend-arbfp.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-pipeline-fragend-arbfp.c b/cogl/cogl-pipeline-fragend-arbfp.c
index 3eda26a..2270767 100644
--- a/cogl/cogl-pipeline-fragend-arbfp.c
+++ b/cogl/cogl-pipeline-fragend-arbfp.c
@@ -241,8 +241,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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]