diff options
author | Ingela Anderton Andin <[email protected]> | 2012-09-24 14:28:02 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-02-05 10:32:21 +0100 |
commit | 926e7f4572363989e3132355197dde6be47e1c2e (patch) | |
tree | b93fe96e1798fb9c70458ec9ef3587cfc8bb8511 /lib/inets/src/inets_app/inets.erl | |
parent | fd8996767652dc4e162eddea457155a2411157de (diff) | |
download | otp-926e7f4572363989e3132355197dde6be47e1c2e.tar.gz otp-926e7f4572363989e3132355197dde6be47e1c2e.tar.bz2 otp-926e7f4572363989e3132355197dde6be47e1c2e.zip |
inets: Dialyzer fixes
Diffstat (limited to 'lib/inets/src/inets_app/inets.erl')
-rw-r--r-- | lib/inets/src/inets_app/inets.erl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/inets/src/inets_app/inets.erl b/lib/inets/src/inets_app/inets.erl index f33e0abe27..ed8082534f 100644 --- a/lib/inets/src/inets_app/inets.erl +++ b/lib/inets/src/inets_app/inets.erl @@ -274,13 +274,8 @@ sys_info() -> os_info() -> V = os:version(), - case os:type() of - {OsFam, OsName} -> - [{fam, OsFam}, {name, OsName}, {ver, V}]; - OsFam -> - [{fam, OsFam}, {ver, V}] - end. - + {OsFam, OsName} = os:type(), + [{fam, OsFam}, {name, OsName}, {ver, V}]. print_mods_info(Versions) -> case key1search(mod_info, Versions) of |