mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27:35 +00:00
Kernel: Remove redundant [[nodiscard]] on KResult return values
Both KResult and KResultOr are [[nodiscard]] at the class level, so there's no need to have functions return `[[nodiscard]] KResult`.
This commit is contained in:
parent
e6929835d2
commit
4b4e1d1c90
8 changed files with 21 additions and 21 deletions
|
@ -18,7 +18,7 @@ public:
|
|||
static KResultOr<NonnullOwnPtr<Coredump>> try_create(NonnullRefPtr<Process>, StringView output_path);
|
||||
|
||||
~Coredump() = default;
|
||||
[[nodiscard]] KResult write();
|
||||
KResult write();
|
||||
|
||||
private:
|
||||
Coredump(NonnullRefPtr<Process>, NonnullRefPtr<FileDescription>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue