mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Kernel: Add some implied auto qualifiers
This commit is contained in:
parent
9346b9589f
commit
04d75f4ff9
Notes:
sideshowbarker
2024-07-17 21:54:49 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 04d75f4ff9
Pull-request: https://github.com/SerenityOS/serenity/pull/11475
11 changed files with 30 additions and 30 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue