diff options
author | Björn Gustavsson <[email protected]> | 2015-01-16 13:02:38 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-01-26 12:58:11 +0100 |
commit | 3f7ab0ea59deedd63da8dbaa9dbdbf5666294d6c (patch) | |
tree | 59e190501b51567ec043042820c3370097eefc33 /lib/compiler/test/warnings_SUITE.erl | |
parent | eaa0596c7c6e33f21783aef5b44fb52db23fc9fe (diff) | |
download | otp-3f7ab0ea59deedd63da8dbaa9dbdbf5666294d6c.tar.gz otp-3f7ab0ea59deedd63da8dbaa9dbdbf5666294d6c.tar.bz2 otp-3f7ab0ea59deedd63da8dbaa9dbdbf5666294d6c.zip |
warnings_SUITE: Eliminate compiler warning for a shadowed variable
Diffstat (limited to 'lib/compiler/test/warnings_SUITE.erl')
-rw-r--r-- | lib/compiler/test/warnings_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compiler/test/warnings_SUITE.erl b/lib/compiler/test/warnings_SUITE.erl index be0348a92d..6e5a7d35e9 100644 --- a/lib/compiler/test/warnings_SUITE.erl +++ b/lib/compiler/test/warnings_SUITE.erl @@ -699,10 +699,10 @@ run(Config, Tests) -> %% Compiles a test module and returns the list of errors and warnings. run_test(Conf, Test0, Warnings) -> - Mod = "warnings_"++test_lib:uniq(), - Filename = Mod ++ ".erl", + Module = "warnings_"++test_lib:uniq(), + Filename = Module ++ ".erl", ?line DataDir = ?privdir, - Test = ["-module(", Mod, "). ", Test0], + Test = ["-module(", Module, "). ", Test0], ?line File = filename:join(DataDir, Filename), ?line Opts = [binary,export_all,return|Warnings], ?line ok = file:write_file(File, Test), |