[babl] Avoid shadowing babl variable



commit b223df166107d8fd3142b929971649f5a3a5aba7
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Feb 26 20:16:23 2015 +0530

    Avoid shadowing babl variable

 babl/babl-model.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/babl/babl-model.c b/babl/babl-model.c
index b181ca2..91c57ee 100644
--- a/babl/babl-model.c
+++ b/babl/babl-model.c
@@ -113,12 +113,12 @@ babl_model_new (void *first_argument,
     {
       if (BABL_IS_BABL (arg))
         {
-          Babl *babl = (Babl *) arg;
+          Babl *bablc = (Babl *) arg;
 
-          switch (babl->class_type)
+          switch (bablc->class_type)
             {
               case BABL_COMPONENT:
-                component [components] = (BablComponent *) babl;
+                component [components] = (BablComponent *) bablc;
                 components++;
 
                 if (components >= BABL_MAX_COMPONENTS)
@@ -150,7 +150,7 @@ babl_model_new (void *first_argument,
               case BABL_FISH_PATH:
               case BABL_IMAGE:
               case BABL_EXTENSION:
-                babl_log ("%s unexpected", babl_class_name (babl->class_type));
+                babl_log ("%s unexpected", babl_class_name (bablc->class_type));
                 break;
 
               case BABL_SKY: /* shut up compiler */


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