diff --git a/src/platform/os/mac/misc.cpp b/src/platform/os/mac/misc.cpp index c6419a5d8..e8e668726 100644 --- a/src/platform/os/mac/misc.cpp +++ b/src/platform/os/mac/misc.cpp @@ -9,7 +9,6 @@ using util::misc::UniqueIdent; static std::string getUuid() { - io_registry_entry_t ioRegistryRoot = IORegistryEntryFromPath(kIOMasterPortDefault, "IOService:/"); CFStringRef uuidCf = (CFStringRef)IORegistryEntryCreateCFProperty(ioRegistryRoot, CFSTR(kIOPlatformUUIDKey), kCFAllocatorDefault, 0); IOObjectRelease(ioRegistryRoot);