Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
2920-compile-Remove-the-unused-function-iofile-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2920-compile-Remove-the-unused-function-iofile-1.patch of Package erlang
From 215647290523a79ab287964a0d8a7d9722e7dbab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Thu, 11 Feb 2021 12:53:29 +0100 Subject: [PATCH 10/18] compile: Remove the unused function iofile/1 iofile/1 is exported but undocumented with no uses in Erlang/OTP. --- lib/compiler/src/compile.erl | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl index a57dee32eb..8cb0b4381b 100644 --- a/lib/compiler/src/compile.erl +++ b/lib/compiler/src/compile.erl @@ -22,7 +22,7 @@ -module(compile). %% High-level interface. --export([file/1,file/2,noenv_file/2,format_error/1,iofile/1]). +-export([file/1,file/2,noenv_file/2,format_error/1]). -export([forms/1,forms/2,noenv_forms/2]). -export([output_generated/1,noenv_output_generated/1]). -export([options/0]). @@ -1722,14 +1722,6 @@ report_warnings(#compile{options=Opts,warnings=Ws0}) -> %% tmpfile(ObjFile) -> TmpFile %% Work out the correct input and output file names. --spec iofile(atom() | file:filename_all()) -> - {file:name_all(),file:name_all()}. - -iofile(File) when is_atom(File) -> - iofile(atom_to_list(File)); -iofile(File) -> - {filename:dirname(File), filename:basename(File, ".erl")}. - erlfile(".", Base, Suffix) -> Base ++ Suffix; erlfile(Dir, Base, Suffix) -> -- 2.26.2
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