From: David Zeuthen Date: Fri, 18 Sep 2009 20:11:46 +0000 (-0400) Subject: Bug 23829 – Undefined value in partutil.c X-Git-Tag: upstream/2.1.2~800 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9f60dedb2b28c21adfe097e4d53dc703625248b;p=platform%2Fupstream%2Fudisks2.git Bug 23829 – Undefined value in partutil.c --- diff --git a/src/partutil.c b/src/partutil.c index 8b5663c..62f5f89 100644 --- a/src/partutil.c +++ b/src/partutil.c @@ -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,