1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-22 22:07:34 +00:00

Kernel: Fix miscellaneous warnings when building with Clang

These small changes fix the remaining warnings that come up during
kernel compilation with Clang. These specific fixes were for benign
things: unused lambda captures and braces around scalar initializers.
This commit is contained in:
Daniel Bertalan 2021-07-01 10:55:13 +02:00 committed by Ali Mohammad Pur
parent 3c6bdb8a61
commit 42d197cde7
4 changed files with 4 additions and 5 deletions

View file

@ -26,7 +26,7 @@ static constexpr IntelNativeGraphicsAdapter::PLLMaxSettings G35Limits {
};
static constexpr u16 supported_models[] {
{ 0x29c2 }, // Intel G35 Adapter
0x29c2, // Intel G35 Adapter
};
static bool is_supported_model(u16 device_id)