[recipes] Avoid a compiler warning



commit 392f633ee6f8c76cb7a3ddb411997c92eda079ac
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Mar 12 23:07:56 2017 -0400

    Avoid a compiler warning

 src/gr-recipe-exporter.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gr-recipe-exporter.c b/src/gr-recipe-exporter.c
index a66d316..0263cd4 100644
--- a/src/gr-recipe-exporter.c
+++ b/src/gr-recipe-exporter.c
@@ -767,8 +767,8 @@ gr_recipe_exporter_export (GrRecipeExporter *exporter,
         exporter->recipes = NULL;
 
         for (i = 0; keys[i]; i++) {
-                g_autoptr(GrRecipe) recipe = gr_recipe_store_get_recipe (store, keys[i]);
-                exporter->recipes = g_list_prepend (exporter->recipes, g_object_ref (recipe));
+                g_autoptr(GrRecipe) r = gr_recipe_store_get_recipe (store, keys[i]);
+                exporter->recipes = g_list_prepend (exporter->recipes, g_object_ref (r));
         }
 
         show_export_dialog (exporter);


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