Bug 23829 – Undefined value in partutil.c
authorDavid Zeuthen <davidz@redhat.com>
Fri, 18 Sep 2009 20:11:46 +0000 (16:11 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 18 Sep 2009 20:11:46 +0000 (16:11 -0400)
src/partutil.c

index 8b5663c..62f5f89 100644 (file)
@@ -259,6 +259,8 @@ set_le_guid (guint8 *buf, const char *source)
        gboolean ret;
        int n;
 
+        ret = FALSE;
+
        n = sscanf (source, "%x-%hx-%hx-%02hhx%02hhx-%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx",
                    &guid->data1,
                    &guid->data2,