mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
ProfileViewer: Remove an unnecessary call to String::format()
This commit is contained in:
parent
19cbfaee54
commit
992d8e450c
Notes:
sideshowbarker
2024-07-19 07:50:01 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/992d8e450c2
@ -231,7 +231,7 @@ OwnPtr<Profile> Profile::load_from_perfcore_file(const StringView& path)
|
||||
}
|
||||
|
||||
if (symbol == "??")
|
||||
symbol = String::format("??", ptr);
|
||||
symbol = "??";
|
||||
|
||||
event.frames.append({ symbol, ptr, offset });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user