mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
Kernel: Add some implied auto qualifiers
This commit is contained in:
committed by
Andreas Kling
parent
9346b9589f
commit
04d75f4ff9
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user