aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-09-17 15:23:05 +0200
committerMicael Karlberg <[email protected]>2018-09-17 15:23:05 +0200
commitfd3d7e7ce693bb960b85b3ea09429adb30145e49 (patch)
treec21f97277a63b6c81456a917b61f6abcefaf3d5a /lib/snmp/src
parentb91036d475c2499ffa6dcf5714e0e155d05b43a4 (diff)
parentf5eafaca46bb254e068a2c6deb72267c8be72337 (diff)
downloadotp-fd3d7e7ce693bb960b85b3ea09429adb30145e49.tar.gz
otp-fd3d7e7ce693bb960b85b3ea09429adb30145e49.tar.bz2
otp-fd3d7e7ce693bb960b85b3ea09429adb30145e49.zip
Merge branch 'maint'
Diffstat (limited to 'lib/snmp/src')
-rw-r--r--lib/snmp/src/compile/snmpc.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/snmp/src/compile/snmpc.erl b/lib/snmp/src/compile/snmpc.erl
index 7f627d66d9..c810bfcd41 100644
--- a/lib/snmp/src/compile/snmpc.erl
+++ b/lib/snmp/src/compile/snmpc.erl
@@ -169,11 +169,7 @@ get_version() ->
MI = ?MODULE:module_info(),
Attr = get_info(attributes, MI),
Vsn = get_info(app_vsn, Attr),
- Comp = get_info(compile, MI),
- Time = get_info(time, Comp),
- {Year, Month, Day, Hour, Min, Sec} = Time,
- io_lib:format("~s [~.4w-~.2.0w-~.2.0w ~.2.0w:~.2.0w:~.2.0w]",
- [Vsn, Year, Month, Day, Hour, Min, Sec]).
+ Vsn.
maybe_display_options(Opts) ->
case lists:member(options, Opts) of