diff options
author | Jérôme de Bretagne <jerome.debretagne@gmail.com> | 2022-01-09 00:38:05 +0100 |
---|---|---|
committer | Jérôme de Bretagne <jerome.debretagne@gmail.com> | 2022-01-19 23:01:28 +0100 |
commit | 45c4aeb09cde4026a0234642809d24477ce0b58d (patch) | |
tree | 4683e059a1abe5cd960eefea219d405c15fd2ebb /lib/snmp | |
parent | 700d1892140e5a6dbcd9b712143e5177146a994d (diff) | |
download | erlang-45c4aeb09cde4026a0234642809d24477ce0b58d.tar.gz |
Compile time no longer available
A few functions still attempted to extract the "compile time"
of each module. This info used to be available when calling
Module:module_info but was removed "a long time ago". A first
removal was done in OTP-15330 and this removes some remaining
leftover cases.
Diffstat (limited to 'lib/snmp')
-rw-r--r-- | lib/snmp/src/app/snmp.erl | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/lib/snmp/src/app/snmp.erl b/lib/snmp/src/app/snmp.erl index 5781fad8ff..bc6a803eaa 100644 --- a/lib/snmp/src/app/snmp.erl +++ b/lib/snmp/src/app/snmp.erl @@ -1,8 +1,8 @@ -%% +%% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 1996-2020. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 1996-2022. All Rights Reserved. +%% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. %% You may obtain a copy of the License at @@ -14,9 +14,9 @@ %% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. %% See the License for the specific language governing permissions and %% limitations under the License. -%% +%% %% %CopyrightEnd% -%% +%% -module(snmp). @@ -608,13 +608,7 @@ mod_version_info(Mod) -> [{compiler_version, Ver}]; not_found -> [] - end ++ - case key1search(time, Comp) of - {value, Ver} -> - [{compile_time, Ver}]; - not_found -> - [] - end; + end; not_found -> [] end ++ |