ProfileViewer: Remove an unnecessary call to String::format()

This commit is contained in:
Andreas Kling 2020-04-07 16:41:00 +02:00
parent 19cbfaee54
commit 992d8e450c
Notes: sideshowbarker 2024-07-19 07:50:01 +09:00

View File

@ -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 });
}