diff options
author | Björn Gustavsson <[email protected]> | 2015-09-01 08:31:25 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-09-10 10:09:48 +0200 |
commit | 05a9fe4e1176388c761ca7be9321608c3ba48810 (patch) | |
tree | 4c253cdf4022420055ae6a7435c4151de2419645 /lib/stdlib | |
parent | 60a6858785f49357757691956295dbcb304c0508 (diff) | |
download | otp-05a9fe4e1176388c761ca7be9321608c3ba48810.tar.gz otp-05a9fe4e1176388c761ca7be9321608c3ba48810.tar.bz2 otp-05a9fe4e1176388c761ca7be9321608c3ba48810.zip |
io_SUITE: Eliminate warnings for unused variables
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/test/io_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/test/io_SUITE.erl b/lib/stdlib/test/io_SUITE.erl index 5df09b6a79..9147ec4548 100644 --- a/lib/stdlib/test/io_SUITE.erl +++ b/lib/stdlib/test/io_SUITE.erl @@ -2225,7 +2225,7 @@ compile_file(File, Text, Config) -> after ok %file:delete(Fname) end. -io_lib_width_too_small(Config) -> +io_lib_width_too_small(_Config) -> "**" = lists:flatten(io_lib:format("~2.3w", [3.14])), "**" = lists:flatten(io_lib:format("~2.5w", [3.14])), ok. @@ -2271,7 +2271,7 @@ writes(N, F1) -> file:write(F1, "hello\n"), writes(N - 1, F1). -format_string(Config) -> +format_string(_Config) -> %% All but padding is tested by fmt/2. "xxxxxxsssx" = fmt("~10.4.xs", ["sss"]), "xxxxxxsssx" = fmt("~10.4.*s", [$x, "sss"]), |