commit 6de1fa8c2a1cb4af9c8234e4bc1d3628df5dcd4c
Author: Christophe Fergeau <[email protected]>
Date:   Tue Oct 20 11:17:53 2009 +0200

    make sure xml is initialized
    
    When neither libiphone nor libsgutils support is enabled, xml could
    be used uninitialized.

 tools/read-sysinfoextended.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tools/read-sysinfoextended.c b/tools/read-sysinfoextended.c
index f1a2830..15aed25 100644
--- a/tools/read-sysinfoextended.c
+++ b/tools/read-sysinfoextended.c
@@ -44,6 +44,7 @@ main (int argc, char **argv)
        return 1;
     }
 
+    xml = NULL;
     if (*argv[1] == '/') {
        /* assume it's a device name */
 #ifdef HAVE_SGUTILS

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to