1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 19:15:08 +00:00

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

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