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

PR-URL: #57354
Reviewed-By: Daeyeon Jeong <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Shelley Vohr <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
ckerr authored Mar 9, 2025
1 parent 725089a commit 9a9a45a
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 9a9a45a

Please sign in to comment.