[grilo-plugins] raitv: Initialize variable in proper place
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] raitv: Initialize variable in proper place
- Date: Tue, 19 Mar 2013 17:16:05 +0000 (UTC)
commit b642088a4a9476cc3feda5518b3b7b08c739fc60
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue Mar 19 16:57:01 2013 +0000
raitv: Initialize variable in proper place
Initialization was too late in the code.
src/raitv/grl-raitv.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/raitv/grl-raitv.c b/src/raitv/grl-raitv.c
index 82fd49e..d04d27c 100644
--- a/src/raitv/grl-raitv.c
+++ b/src/raitv/grl-raitv.c
@@ -394,6 +394,7 @@ proxy_call_search_grlnet_async_cb (GObject *source_object,
GError *wc_error = NULL;
GError *error = NULL;
gchar *content = NULL;
+ gboolean g_bVideoNotFound = TRUE;
if (g_cancellable_is_cancelled (op->cancellable)) {
goto finalize;
@@ -441,8 +442,6 @@ proxy_call_search_grlnet_async_cb (GObject *source_object,
xmlXPathFreeObject (obj);
}
- gboolean g_bVideoNotFound = TRUE;
-
for (i = 0; i < nb_items; i++)
{
//Search only videos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]