Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
7041-Remove-unused-argument.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 7041-Remove-unused-argument.patch of Package erlang
From 0bd4ec71f80f7e97a00c91770719bbeddaa0fb7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Muska=C5=82a?= <michal@muskala.eu> Date: Mon, 3 Apr 2023 17:52:05 +0100 Subject: [PATCH] Remove unused argument This is not used in the `not_string` function --- lib/stdlib/src/erl_parse.yrl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/stdlib/src/erl_parse.yrl b/lib/stdlib/src/erl_parse.yrl index 02adb842e9..bef858cdc5 100644 --- a/lib/stdlib/src/erl_parse.yrl +++ b/lib/stdlib/src/erl_parse.yrl @@ -1693,16 +1693,16 @@ abstract_list([H|T], String, A, E) -> abstract_list(T, [H|String], A, E); false -> AbstrList = {cons,A,abstract(H, A, E),abstract(T, A, E)}, - not_string(String, AbstrList, A, E) + not_string(String, AbstrList, A) end; abstract_list([], String, A, _E) -> {string, A, lists:reverse(String)}; abstract_list(T, String, A, E) -> - not_string(String, abstract(T, A, E), A, E). + not_string(String, abstract(T, A, E), A). -not_string([C|T], Result, A, E) -> - not_string(T, {cons, A, {integer, A, C}, Result}, A, E); -not_string([], Result, _A, _E) -> +not_string([C|T], Result, A) -> + not_string(T, {cons, A, {integer, A, C}, Result}, A); +not_string([], Result, _A) -> Result. abstract_tuple_list([H|T], A, E) -> -- 2.35.3
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