aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-06-24 14:23:38 +0200
committerMicael Karlberg <[email protected]>2019-07-08 14:56:41 +0200
commitb58478b9d3e2433ebb20d9af362f174333631bec (patch)
tree2b2a6dd716ef075c853b6b17047c8f97e9582d99 /lib/snmp
parent8f67452510ce9544331d5d3a82cd152d2333bc0e (diff)
downloadotp-b58478b9d3e2433ebb20d9af362f174333631bec.tar.gz
otp-b58478b9d3e2433ebb20d9af362f174333631bec.tar.bz2
otp-b58478b9d3e2433ebb20d9af362f174333631bec.zip
[snmp] Compile time no longer available
The function 'snmp:print_version_info/0' which prints various (version) info, attempted to extract the "compile time" of each module in the snmp app. This info used to be availabe in the module_info of each module, but has been removed (a "long" time ago). This resulted in a pointless "Not Found" beeing printed. This has now been removed from the into printed. OTP-15330
Diffstat (limited to 'lib/snmp')
-rw-r--r--lib/snmp/src/app/snmp.erl11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/snmp/src/app/snmp.erl b/lib/snmp/src/app/snmp.erl
index 216452afdd..30ffa19ef0 100644
--- a/lib/snmp/src/app/snmp.erl
+++ b/lib/snmp/src/app/snmp.erl
@@ -590,15 +590,6 @@ print_mod_info(Prefix, {Module, Info}) ->
_ ->
"Not found"
end,
- CompDate =
- case key1search(compile_time, Info) of
- {value, {Year, Month, Day, Hour, Min, Sec}} ->
- io_lib:format(
- "~w-~2..0w-~2..0w ~2..0w:~2..0w:~2..0w",
- [Year, Month, Day, Hour, Min, Sec]);
- _ ->
- "Not found"
- end,
Digest =
case key1search(md5, Info) of
{value, MD5} when is_binary(MD5) ->
@@ -610,13 +601,11 @@ print_mod_info(Prefix, {Module, Info}) ->
"~s Vsn: ~s~n"
"~s App vsn: ~s~n"
"~s Compiler ver: ~s~n"
- "~s Compile time: ~s~n"
"~s MD5 digest: ~s~n",
[Prefix, Module,
Prefix, Vsn,
Prefix, AppVsn,
Prefix, CompVer,
- Prefix, CompDate,
Prefix, Digest]),
ok.