aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-01-23 12:30:50 +0100
committerBjörn Gustavsson <[email protected]>2013-01-23 12:31:19 +0100
commitf7720422e87e9c54d104522c0f1483a1c3f34a36 (patch)
tree0756772818d6354bea9647b00db5f01517b254be
parent56971970444f1d1209a638e7b248ff7ba0b85a40 (diff)
downloadotp-f7720422e87e9c54d104522c0f1483a1c3f34a36.tar.gz
otp-f7720422e87e9c54d104522c0f1483a1c3f34a36.tar.bz2
otp-f7720422e87e9c54d104522c0f1483a1c3f34a36.zip
inet_parse: Eliminate a compiler warning
The warning was introduced in e367eb44969b00cac910c8eb14e7b3ce3ee0cc91.
-rw-r--r--lib/kernel/src/inet_parse.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/inet_parse.erl b/lib/kernel/src/inet_parse.erl
index 3551e701b6..a7ac6ce040 100644
--- a/lib/kernel/src/inet_parse.erl
+++ b/lib/kernel/src/inet_parse.erl
@@ -464,7 +464,7 @@ strict_address(Cs) when is_list(Cs) ->
_ ->
ipv6strict_address(Cs)
end;
-strict_address(Cs) ->
+strict_address(_) ->
{error, einval}.
%%