aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/src/text/megaco_text_parser_v1.hrl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-07-01 18:14:31 +0200
committerMicael Karlberg <[email protected]>2019-07-01 18:14:31 +0200
commitd0514c38ca691bf24444494f7444283a68087615 (patch)
tree2a397b1cb42e3ca1e416364320cef731ed3c38b9 /lib/megaco/src/text/megaco_text_parser_v1.hrl
parentc5e2def4e4a3c5c61964741efcc5b01f958c15f0 (diff)
parent2bb25c5877ccd4bc06afe309bb6f0e6d690f444f (diff)
downloadotp-d0514c38ca691bf24444494f7444283a68087615.tar.gz
otp-d0514c38ca691bf24444494f7444283a68087615.tar.bz2
otp-d0514c38ca691bf24444494f7444283a68087615.zip
Merge branch 'maint'
Diffstat (limited to 'lib/megaco/src/text/megaco_text_parser_v1.hrl')
-rw-r--r--lib/megaco/src/text/megaco_text_parser_v1.hrl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/megaco/src/text/megaco_text_parser_v1.hrl b/lib/megaco/src/text/megaco_text_parser_v1.hrl
index f48ac745f0..3a19debba0 100644
--- a/lib/megaco/src/text/megaco_text_parser_v1.hrl
+++ b/lib/megaco/src/text/megaco_text_parser_v1.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2000-2016. All Rights Reserved.
+%% Copyright Ericsson AB 2000-2019. 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.
@@ -1337,6 +1337,7 @@ ensure_uint(Token, Min, Max) ->
-ifdef(megaco_parser_inline).
-compile({inline,[{ensure_uint,4}]}).
-endif.
+-dialyzer({nowarn_function, ensure_uint/4}). % Future compat
ensure_uint(Val, Min, Max, Line) ->
if
is_integer(Min) andalso (Val >= Min) ->