AK: Remove dead store from Time:operator+
This is written, but never read again, and is thus useless.
This commit is contained in:
parent
271d6f494f
commit
10f5a046c4
Notes:
sideshowbarker
2024-07-18 04:58:52 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/10f5a046c48 Pull-request: https://github.com/SerenityOS/serenity/pull/9709
1 changed files with 0 additions and 1 deletions
|
@ -204,7 +204,6 @@ Time Time::operator+(const Time& other) const
|
|||
/* If *both* are INT64_MAX, then adding them will overflow in any case. */
|
||||
return Time::max();
|
||||
}
|
||||
extra_secs = 0;
|
||||
}
|
||||
|
||||
Checked<i64> new_secs { this_secs };
|
||||
|
|
Loading…
Add table
Reference in a new issue