aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/manager/snmpm_conf.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-06-13 16:12:11 +0200
committerMicael Karlberg <[email protected]>2019-06-27 17:50:45 +0200
commit331a5f531326da2d0ac23a1fa40c8a51a749c464 (patch)
tree6c5a92c7a307c3d9410b2a71fea2f4fcf4d17168 /lib/snmp/src/manager/snmpm_conf.erl
parent2b285f1dddc89ac2b4194c16bdb3cc92a89c9976 (diff)
downloadotp-331a5f531326da2d0ac23a1fa40c8a51a749c464.tar.gz
otp-331a5f531326da2d0ac23a1fa40c8a51a749c464.tar.bz2
otp-331a5f531326da2d0ac23a1fa40c8a51a749c464.zip
[snmp|manager] Dialyzer related changes
Changes to satisfy dialyzer. Including changing the definition of the snmpm_network_interface behaviour (use the '-callback' attribute instead of an explicit behaviour_info/1 function). OTP-15932
Diffstat (limited to 'lib/snmp/src/manager/snmpm_conf.erl')
-rw-r--r--lib/snmp/src/manager/snmpm_conf.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/snmp/src/manager/snmpm_conf.erl b/lib/snmp/src/manager/snmpm_conf.erl
index 0421f49c88..9b1d03d645 100644
--- a/lib/snmp/src/manager/snmpm_conf.erl
+++ b/lib/snmp/src/manager/snmpm_conf.erl
@@ -356,6 +356,7 @@ read_config_file(Dir, File, Order, Check) ->
%% ---- config file utility functions ----
+-dialyzer({nowarn_function, check_ok/1}). % Future compat
check_ok(ok) ->
ok;
check_ok({ok, _}) ->