aboutsummaryrefslogtreecommitdiff
path: root/src/gleam_stdlib.erl
diff options
context:
space:
mode:
authorinoas <mail@inoas.com>2022-08-10 15:18:33 +0200
committerLouis Pilfold <louis@lpil.uk>2022-08-11 09:56:08 +0100
commit347b9fa88ea726f90b85149aec0776ba4588da4f (patch)
treec396fdf0d500eb6ae46dc594acc93865ddb30987 /src/gleam_stdlib.erl
parenta974efd66ed4904ce7c9cabc38c3ec0563715b8f (diff)
downloadgleam_stdlib-347b9fa88ea726f90b85149aec0776ba4588da4f.tar.gz
gleam_stdlib-347b9fa88ea726f90b85149aec0776ba4588da4f.zip
remove unreachable code
Diffstat (limited to 'src/gleam_stdlib.erl')
-rw-r--r--src/gleam_stdlib.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gleam_stdlib.erl b/src/gleam_stdlib.erl
index 0d817fe..8417e7c 100644
--- a/src/gleam_stdlib.erl
+++ b/src/gleam_stdlib.erl
@@ -390,8 +390,6 @@ inspect_proper_list(List) ->
inspect_improper_list(Elements) ->
do_inspect_improper_list(firstCall, Elements).
-do_inspect_improper_list(_NthCall, []) ->
- [];
do_inspect_improper_list(firstCall, [First | Rest]) ->
[inspect(First) | do_inspect_improper_list(nthCall, Rest)];
do_inspect_improper_list(nthCall, [First | Rest]) ->