Skip to content

Commit

Permalink
src: do not pass nullptr to std::string ctor
Browse files Browse the repository at this point in the history
fixes -Wnonnull warning on some compilers
  • Loading branch information
ckerr committed Mar 7, 2025
1 parent 117c1ca commit c8a3a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class Win32SymbolDebuggingContext final : public NativeSymbolDebuggingContext {
USE(GetLastError());
#endif // DEBUG
}
return nullptr;
return {};
}

SymbolInfo LookupSymbol(void* address) override {
Expand Down

0 comments on commit c8a3a3d

Please sign in to comment.