- fix compilation warning

This commit is contained in:
2021-01-22 11:20:48 +02:00
parent 27d59ab676
commit ce9912dd8d

View File

@@ -39,10 +39,11 @@ Uuid Uuid::parse(const std::string &s)
std::string Uuid::toString() const
{
char buf[64];
#if defined(USE_NULL_UUID)
return "UUID_disabled";
#else
char buf[64];
#if defined(TARGET_LINUX) || defined(TARGET_OSX)
uuid_unparse_lower(mUuid, buf);
#endif