diff options
author | Stavros Aronis <[email protected]> | 2012-04-03 13:55:45 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-04-24 12:02:26 +0200 |
commit | 3ab2dd6d490a3b0d1e8d8cad64b460e09b130c15 (patch) | |
tree | 5a0432dd02c26ff035d77956af6ca90b2a5ae4ab /lib/dialyzer/src/dialyzer_cl.erl | |
parent | 20412ad6e285a71246e660094a5e8610dfc7b71e (diff) | |
download | otp-3ab2dd6d490a3b0d1e8d8cad64b460e09b130c15.tar.gz otp-3ab2dd6d490a3b0d1e8d8cad64b460e09b130c15.tar.bz2 otp-3ab2dd6d490a3b0d1e8d8cad64b460e09b130c15.zip |
Don't rewrite unchanged PLT
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_cl.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl.erl b/lib/dialyzer/src/dialyzer_cl.erl index 04a0db890f..6d3b1f0531 100644 --- a/lib/dialyzer/src/dialyzer_cl.erl +++ b/lib/dialyzer/src/dialyzer_cl.erl @@ -188,6 +188,7 @@ plt_common(#options{init_plts = [InitPlt]} = Opts, RemoveFiles, AddFiles) -> ok -> case Opts#options.output_plt of none -> ok; + InitPlt -> ok; OutPlt -> {ok, Binary} = file:read_file(InitPlt), ok = file:write_file(OutPlt, Binary) |