[grilo-plugins] magnatune: Remove unused assignment



commit 30941ebbaf473f2992809dacce97938cda5fc760
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Sat Sep 7 22:55:45 2013 +0000

    magnatune: Remove unused assignment

 src/magnatune/grl-magnatune.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/magnatune/grl-magnatune.c b/src/magnatune/grl-magnatune.c
index bfbcca8..34eeacd 100644
--- a/src/magnatune/grl-magnatune.c
+++ b/src/magnatune/grl-magnatune.c
@@ -503,7 +503,7 @@ magnatune_check_update_done(GObject *source_object,
     new_crc_path = g_build_filename(g_get_user_data_dir(), "grilo-plugins",
                                     GRL_SQL_NEW_CRC, NULL);
 
-    ret = g_file_set_contents(new_crc_path,
+    g_file_set_contents(new_crc_path,
                               new_crc,
                               length,
                               &err);
@@ -511,10 +511,10 @@ magnatune_check_update_done(GObject *source_object,
     crc_path = g_build_filename(g_get_user_data_dir(), "grilo-plugins",
                                 GRL_SQL_CRC, NULL);
 
-    ret = g_file_get_contents(crc_path,
-                              &old_crc,
-                              &length,
-                              &err);
+    g_file_get_contents(crc_path,
+                        &old_crc,
+                        &length,
+                        &err);
 
     if (g_strcmp0(new_crc, old_crc) != 0) {
       magnatune_get_db_async(NULL);


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