1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00

Kernel: Add some implied auto qualifiers

This commit is contained in:
Hendiadyoin1 2021-12-29 01:01:27 +01:00 committed by Andreas Kling
parent 9346b9589f
commit 04d75f4ff9
11 changed files with 30 additions and 30 deletions

View file

@ -27,7 +27,7 @@ namespace Kernel {
void __panic(const char* file, unsigned int line, const char* function)
{
// Avoid lock ranking checks on crashing paths, just try to get some debugging messages out.
auto thread = Thread::current();
auto* thread = Thread::current();
if (thread)
thread->set_crashing();