From a9f60dedb2b28c21adfe097e4d53dc703625248b Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Fri, 18 Sep 2009 16:11:46 -0400 Subject: [PATCH] =?utf8?q?Bug=2023829=20=E2=80=93=20Undefined=20value=20in?= =?utf8?q?=20partutil.c?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/partutil.c | 2 ++ 1 file changed, 2 insertions(+) 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, -- 2.7.4