diff options
author | Lenny Maiorani <lenny@colorado.edu> | 2020-11-29 02:41:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 10:41:02 +0100 |
commit | a34939bcd54da99056d2ed11cf2840624f1322e5 (patch) | |
tree | 8f66a60faeacda34aef0622d54189fe1ccd1a2fd /AK/QuickSort.h | |
parent | b9bbf377d6d8facef7a299c266615095f97436de (diff) | |
download | serenity-a34939bcd54da99056d2ed11cf2840624f1322e5.zip |
Tests/Kernel: Remove redundant `if` (#4111)
Problem:
- If `fork()` fails the system tries to call `execl()`. That will
either succeed and replace the running process image or it will fail
and it needs to try again. The `if` is redundant because it will
only be evaluated if `execl()` fails.
Solution:
- Remove the `if`.
Diffstat (limited to 'AK/QuickSort.h')
0 files changed, 0 insertions, 0 deletions