[grilo-plugins] jamendo: Fix potential uninitialised use



commit 2064f318657e7ab63f6323e220bf15bdc3db86a3
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jan 6 17:28:15 2014 +0100

    jamendo: Fix potential uninitialised use
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721642

 src/jamendo/grl-jamendo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/jamendo/grl-jamendo.c b/src/jamendo/grl-jamendo.c
index 729700e..0dd8873 100644
--- a/src/jamendo/grl-jamendo.c
+++ b/src/jamendo/grl-jamendo.c
@@ -1094,7 +1094,7 @@ grl_jamendo_source_browse (GrlSource *source,
   GError *error = NULL;
   guint page_size;
   guint page_number;
-  guint page_offset;
+  guint page_offset = 0;
   gint count = grl_operation_options_get_count (bs->options);
   guint skip = grl_operation_options_get_skip (bs->options);
 


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