From 764d9fe73b0c9da918d2ecf2c4031219a1fac5be Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 29 Feb 2024 13:05:10 -0500 Subject: Remove unnecessary code --- builtins/array.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'builtins/array.c') 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; -- cgit v1.2.3