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



commit 56770044d532cde0e3d55a32f666985c329a1c35
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]