From c8a3a3ddcfa13cab848b63d773346e83123ffe70 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 6 Mar 2025 20:50:09 -0600 Subject: [PATCH] src: do not pass nullptr to std::string ctor fixes -Wnonnull warning on some compilers --- src/debug_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug_utils.cc b/src/debug_utils.cc index c8b3b11ee34d7a..8a85e066fd9e6f 100644 --- a/src/debug_utils.cc +++ b/src/debug_utils.cc @@ -254,7 +254,7 @@ class Win32SymbolDebuggingContext final : public NativeSymbolDebuggingContext { USE(GetLastError()); #endif // DEBUG } - return nullptr; + return {}; } SymbolInfo LookupSymbol(void* address) override {