Hi,
This very simple patch remove last warning detected by llvm at Mar 4
15:49:26 2009
http://local.profusion.mobi:8081/~lfelipe/output-efl/efl-39637/eet/2009-03-04-1/

Can someone review it?

Thank you.

-- 
Tiago Rezende Campos Falcão
Developer @ ProFUSION Embedded Systems
From 018fc72d793619b7b69eb567afefb8218bd7bdfa Mon Sep 17 00:00:00 2001
From: Tiago Falcao <[email protected]>
Date: Thu, 12 Mar 2009 16:26:26 -0300
Subject: [PATCH] Dead Assignment: Value stored to 'node' is never read

---
 src/lib/eet_data.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/lib/eet_data.c b/src/lib/eet_data.c
index 66e8c4d..5f23b9d 100644
--- a/src/lib/eet_data.c
+++ b/src/lib/eet_data.c
@@ -1985,11 +1985,7 @@ _eet_data_dump_parse(Eet_Dictionary *ed,
 					     {
 						node_base = n;
 					     }
-					   if (!node)
-					     {
-						node = n;
-					     }
-					   else
+					   if (node)
 					     {
 						/* append node */
 						if (!node->values)
-- 
1.6.0.4

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to