diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-29 13:05:10 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-29 13:05:10 -0500 |
| commit | 764d9fe73b0c9da918d2ecf2c4031219a1fac5be (patch) | |
| tree | a49967675c8e60522b6f08f6b53349afeeb8f313 | |
| parent | ab17cf75394b0f100bd18668ce637e9aab6ed1e9 (diff) | |
Remove unnecessary code
| -rw-r--r-- | builtins/array.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/builtins/array.c b/builtins/array.c index 8ea9033d..66060a71 100644 --- a/builtins/array.c +++ b/builtins/array.c @@ -204,9 +204,6 @@ public array_t Array__slice(array_t *array, int64_t first, int64_t stride, int64 } } - // If less than zero, set to zero (without a conditional branch) - length = length & ~(length >> 63); - if (length > array->length/labs(stride) + 1) length = array->length/labs(stride) + 1; if (length < 0) length = -length; |
