- fix compilation warning

This commit is contained in:
Dmytro Bogovych 2021-01-22 11:20:48 +02:00
parent 27d59ab676
commit ce9912dd8d
1 changed files with 2 additions and 1 deletions

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