diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/uuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/uuid.c b/util/uuid.c index 6815904..f0c1eeb 100644 --- a/util/uuid.c +++ b/util/uuid.c @@ -40,7 +40,7 @@ void qemu_uuid_generate(QemuUUID *uuid) int qemu_uuid_is_null(const QemuUUID *uu) { - QemuUUID null_uuid = { 0 }; + static QemuUUID null_uuid; return memcmp(uu, &null_uuid, sizeof(QemuUUID)) == 0; } |