Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang
0375-Skip-useless-test-in-grow-loop-in-array-mo...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0375-Skip-useless-test-in-grow-loop-in-array-module.patch of Package erlang
From a52bd506e6b050b028f734cb9f90cf2e0a497d02 Mon Sep 17 00:00:00 2001 From: Richard Carlsson <richardc@klarna.com> Date: Mon, 11 Mar 2019 16:01:22 +0100 Subject: [PATCH 3/4] Skip useless test in grow loop in array module --- lib/stdlib/src/array.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stdlib/src/array.erl b/lib/stdlib/src/array.erl index a65f7eb747..32bc2a3372 100644 --- a/lib/stdlib/src/array.erl +++ b/lib/stdlib/src/array.erl @@ -606,7 +606,7 @@ grow(I, E, M) -> grow_1(I, E, M). grow_1(I, E, M) when I >= M -> - grow(I, setelement(1, ?NEW_NODE(M), E), ?extend(M)); + grow_1(I, setelement(1, ?NEW_NODE(M), E), ?extend(M)); grow_1(_I, E, M) -> {E, M}. -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor