Skip to content

Commit

Permalink
Merge pull request #1360 from jakub-gonet/jgonet/fix-warning
Browse files Browse the repository at this point in the history
Fix unused variable warning in erlang:binary_to_integer/2

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
  • Loading branch information
bettio committed Nov 13, 2024
2 parents 43e770b + e7e53b3 commit 148002e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/estdlib/src/erlang.erl
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ binary_to_integer(_Binary) ->
%% @end
%%-----------------------------------------------------------------------------
-spec binary_to_integer(Binary :: binary(), Base :: 2..36) -> integer().
binary_to_integer(_Binary, Base) ->
binary_to_integer(_Binary, _Base) ->
erlang:nif_error(undefined).

%%-----------------------------------------------------------------------------
Expand Down

0 comments on commit 148002e

Please sign in to comment.