diff options
author | Ingela Anderton Andin <[email protected]> | 2012-09-24 14:28:02 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2012-10-02 09:25:02 +0200 |
commit | 03b748a502a966e9ba0e2349a7dddd5f4f149297 (patch) | |
tree | bc01df4bdb4be5f4bd547758f5a69c6021acf75d /lib/inets/src/inets_app | |
parent | 9c85ee8b61c24587a228b3644c37b1b4fdfb7dcb (diff) | |
download | otp-03b748a502a966e9ba0e2349a7dddd5f4f149297.tar.gz otp-03b748a502a966e9ba0e2349a7dddd5f4f149297.tar.bz2 otp-03b748a502a966e9ba0e2349a7dddd5f4f149297.zip |
inets: Dialyzer fixes
Diffstat (limited to 'lib/inets/src/inets_app')
-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 |