diff options
author | Anders Svensson <[email protected]> | 2013-02-13 14:15:10 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-02-18 13:01:08 +0100 |
commit | e9bdf8a759e6fe7b64923a3452812a5b25ec9798 (patch) | |
tree | b602fb85c17e7d270ef6face715ef9a08ad22c6c /lib/diameter/src/compiler/diameter_codegen.erl | |
parent | 1c1b36997d766428e8213217d0700d9a5c72de0c (diff) | |
download | otp-e9bdf8a759e6fe7b64923a3452812a5b25ec9798.tar.gz otp-e9bdf8a759e6fe7b64923a3452812a5b25ec9798.tar.bz2 otp-e9bdf8a759e6fe7b64923a3452812a5b25ec9798.zip |
Remove dialyzer nowarn_unused_function workaround
The workaround (commit 57d5564f) was to dialyzer only understanding
nowarn_unused_function on individual functions. This is no longer the
case as of R15B01 (commit 477fd95a).
Diffstat (limited to 'lib/diameter/src/compiler/diameter_codegen.erl')
-rw-r--r-- | lib/diameter/src/compiler/diameter_codegen.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/compiler/diameter_codegen.erl b/lib/diameter/src/compiler/diameter_codegen.erl index 1e31c40afe..80036879ea 100644 --- a/lib/diameter/src/compiler/diameter_codegen.erl +++ b/lib/diameter/src/compiler/diameter_codegen.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2011. All Rights Reserved. +%% Copyright Ericsson AB 2010-2013. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -128,8 +128,8 @@ gen(hrl, Spec, Mod, Path) -> gen(erl, Spec, Mod, Path) -> Forms = [{?attribute, module, Mod}, - {?attribute, compile, [{parse_transform, diameter_exprecs}]}, - {?attribute, compile, [{parse_transform, diameter_nowarn}]}, + {?attribute, compile, {parse_transform, diameter_exprecs}}, + {?attribute, compile, nowarn_unused_function}, {?attribute, export, [{name, 0}, {id, 0}, {vendor_id, 0}, |