aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmp_framework_mib.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-06-14 19:39:01 +0200
committerMicael Karlberg <[email protected]>2019-06-27 17:51:14 +0200
commit015f39e37aebe8c389ab32f4137c0f52a5061683 (patch)
tree66917584eeef3a9d227f418193156e6f9996c90a /lib/snmp/src/agent/snmp_framework_mib.erl
parent8eb935e38eff65eac32890610bf517dc04389418 (diff)
downloadotp-015f39e37aebe8c389ab32f4137c0f52a5061683.tar.gz
otp-015f39e37aebe8c389ab32f4137c0f52a5061683.tar.bz2
otp-015f39e37aebe8c389ab32f4137c0f52a5061683.zip
[snmp|agent] Add disable flags to quiet dialyzer
Warning for some functions "for no reason" (obviously there is a reason, but I have to dig deeeep to find it). Also warnings for stuff there is no way to type today (for instance, improper lists). OTP-15932
Diffstat (limited to 'lib/snmp/src/agent/snmp_framework_mib.erl')
-rw-r--r--lib/snmp/src/agent/snmp_framework_mib.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/snmp/src/agent/snmp_framework_mib.erl b/lib/snmp/src/agent/snmp_framework_mib.erl
index 7ea4f0ed97..a795d7ba3f 100644
--- a/lib/snmp/src/agent/snmp_framework_mib.erl
+++ b/lib/snmp/src/agent/snmp_framework_mib.erl
@@ -246,6 +246,7 @@ check_agent(X) ->
%% Ordering function to sort intAgentTransportDomain first
%% hence before intAgentIpAddress. Sort other entries on the key.
+-dialyzer({nowarn_function, order_agent/2}).
order_agent(EntryA, EntryB) ->
snmp_conf:keyorder(
1, EntryA, EntryB,