aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-02-05 16:36:52 +0100
committerBjörn Gustavsson <[email protected]>2010-02-10 08:21:25 +0100
commit4e3433640ebd33773c0d348091a665d7f87bd04c (patch)
tree46f3df22cdb1bf28b04c1747d5403ed730c2be8f
parent19fda3d8ddbd8b844024bd15689dbf45fa8e5e1e (diff)
downloadotp-4e3433640ebd33773c0d348091a665d7f87bd04c.tar.gz
otp-4e3433640ebd33773c0d348091a665d7f87bd04c.tar.bz2
otp-4e3433640ebd33773c0d348091a665d7f87bd04c.zip
compile.erl: eliminate compiler warning
-rw-r--r--lib/compiler/src/compile.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl
index d73c9cd762..b853800d73 100644
--- a/lib/compiler/src/compile.erl
+++ b/lib/compiler/src/compile.erl
@@ -1055,7 +1055,7 @@ test_native(#compile{options=Opts}) ->
is_native_enabled([native|_]) -> true;
is_native_enabled([no_native|_]) -> false;
-is_native_enabled([H|T]) -> is_native_enabled(T);
+is_native_enabled([_|Opts]) -> is_native_enabled(Opts);
is_native_enabled([]) -> false.
native_compile(#compile{code=none}=St) -> {ok,St};