Skip to content

Commit 5eab4d3

Browse files
Merge pull request #1404 from adrian-prantl/64046344-1
debugserver: Return a nullptr in GetPlatformString()
2 parents 8c5c661 + fca4588 commit 5eab4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/debugserver/source/MacOSX/MachProcess.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ static bool FBSAddEventDataToOptions(NSMutableDictionary *options,
668668
case PLATFORM_DRIVERKIT:
669669
return "driverkit";
670670
}
671-
return "";
671+
return nullptr;
672672
}
673673

674674
// Given an address, read the mach-o header and load commands out of memory to

0 commit comments

Comments
 (0)