From: Cédric Le Goater Date: Thu, 26 Oct 2023 07:06:36 +0000 (+0200) Subject: util/uuid: Remove UUID_FMT_LEN X-Git-Tag: v8.1.3~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f0083a95d86e97f98e68c92e6e3aa06ce7e6c7f;p=thirdparty%2Fqemu.git util/uuid: Remove UUID_FMT_LEN Dangerous and now unused. Cc: Fam Zheng Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: "Denis V. Lunev" Reviewed-by: Juan Quintela Signed-off-by: Cédric Le Goater (cherry picked from commit 4ef9d97b1a37b8cfd152cc3ac5f9576e406868b1) Signed-off-by: Michael Tokarev --- diff --git a/include/qemu/uuid.h b/include/qemu/uuid.h index 9e160d65aae..008926ab32f 100644 --- a/include/qemu/uuid.h +++ b/include/qemu/uuid.h @@ -78,8 +78,7 @@ typedef struct { "%02hhx%02hhx-" \ "%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx" -#define UUID_FMT_LEN 36 -#define UUID_STR_LEN (UUID_FMT_LEN + 1) +#define UUID_STR_LEN (36 + 1) #define UUID_NONE "00000000-0000-0000-0000-000000000000"