[anjuta] debugger: Remove all locals variables if there is no local	variables
- From: Sebastien Granjoux <sgranjoux src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [anjuta] debugger: Remove all locals variables if there is no local	variables
 
- Date: Sat, 17 Jul 2010 15:39:30 +0000 (UTC)
 
commit c5b24bfb64c459b5fad00fa47c01804fb3f9ee26
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sat Jul 17 17:38:54 2010 +0200
    debugger: Remove all locals variables if there is no local variables
 plugins/debug-manager/locals.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/debug-manager/locals.c b/plugins/debug-manager/locals.c
index d333eeb..9689704 100644
--- a/plugins/debug-manager/locals.c
+++ b/plugins/debug-manager/locals.c
@@ -66,9 +66,6 @@ locals_updated (const gpointer data, gpointer user_data, GError *error)
 
 	if (error != NULL)
 		return;
-	
-	if (g_list_length ((GList*)list) < 1)
-		return;
 
 	debug_tree_replace_list (self->debug_tree, list);
 }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]