- fix compilation warning
This commit is contained in:
parent
27d59ab676
commit
ce9912dd8d
|
|
@ -39,10 +39,11 @@ Uuid Uuid::parse(const std::string &s)
|
||||||
|
|
||||||
std::string Uuid::toString() const
|
std::string Uuid::toString() const
|
||||||
{
|
{
|
||||||
char buf[64];
|
|
||||||
#if defined(USE_NULL_UUID)
|
#if defined(USE_NULL_UUID)
|
||||||
return "UUID_disabled";
|
return "UUID_disabled";
|
||||||
#else
|
#else
|
||||||
|
char buf[64];
|
||||||
|
|
||||||
#if defined(TARGET_LINUX) || defined(TARGET_OSX)
|
#if defined(TARGET_LINUX) || defined(TARGET_OSX)
|
||||||
uuid_unparse_lower(mUuid, buf);
|
uuid_unparse_lower(mUuid, buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue