[cogl/wip/rib/master-next: 29/44] build: removes unused variable i to avoid compiler warning



commit e58f1feb400a0bd744b4dc1fcfed32f028a8b6d8
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

 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 0ee035f..6f0fcf2 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]