aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/tools/hipe_tool.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-02-19 11:39:38 +0000
committerErlang/OTP <[email protected]>2010-02-19 11:39:38 +0000
commit6328bb2d212e63c1cf6c044a7688412b4ddf6954 (patch)
tree01d49e0fc5f4462611761cf058e79de3ff51340d /lib/hipe/tools/hipe_tool.erl
parentb272166e17e0258b3f3c511e13053cb99fb66e59 (diff)
downloadotp-6328bb2d212e63c1cf6c044a7688412b4ddf6954.tar.gz
otp-6328bb2d212e63c1cf6c044a7688412b4ddf6954.tar.bz2
otp-6328bb2d212e63c1cf6c044a7688412b4ddf6954.zip
Fix problems identified by dialyzer.
Diffstat (limited to 'lib/hipe/tools/hipe_tool.erl')
-rw-r--r--lib/hipe/tools/hipe_tool.erl14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/hipe/tools/hipe_tool.erl b/lib/hipe/tools/hipe_tool.erl
index ae1cad06cc..a1bd79895d 100644
--- a/lib/hipe/tools/hipe_tool.erl
+++ b/lib/hipe/tools/hipe_tool.erl
@@ -1,20 +1,20 @@
%% -*- erlang-indent-level: 2 -*-
%%
%% %CopyrightBegin%
-%%
-%% Copyright Ericsson AB 2002-2009. All Rights Reserved.
-%%
+%%
+%% Copyright Ericsson AB 2002-2010. 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
%% compliance with the License. You should have received a copy of the
%% Erlang Public License along with this software. If not, it can be
%% retrieved online at http://www.erlang.org/.
-%%
+%%
%% Software distributed under the License is distributed on an "AS IS"
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
%% the License for the specific language governing rights and limitations
%% under the License.
-%%
+%%
%% %CopyrightEnd%
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -506,8 +506,8 @@ get_edoc(Mod) ->
ok.
edoc(Name, Opts) ->
- Doc = edoc:get_doc([Name, Opts]),
+ Doc = edoc:get_doc(Name, Opts),
%% Comments = edoc:read_comments(Name, Opts),
%% Text = edoc:forms(Forms, Comments, Name, Opts),
- edoc:layout([Doc, Opts]),
+ edoc:layout(Doc, Opts),
ok.