aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_procinfo.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-06-28 10:27:33 +0200
committerDan Gudmundsson <[email protected]>2012-06-28 10:27:33 +0200
commit3af8c55fb68b7047ff1f8c333528167c875c2cbc (patch)
tree660a4b7d8e96d30142c270ca29e8dc11e88b1882 /lib/observer/src/observer_procinfo.erl
parent2f21ad26a9f3000d62660edde22874603aa2baaa (diff)
downloadotp-3af8c55fb68b7047ff1f8c333528167c875c2cbc.tar.gz
otp-3af8c55fb68b7047ff1f8c333528167c875c2cbc.tar.bz2
otp-3af8c55fb68b7047ff1f8c333528167c875c2cbc.zip
[observer] Fix dialyser warnings
Diffstat (limited to 'lib/observer/src/observer_procinfo.erl')
-rw-r--r--lib/observer/src/observer_procinfo.erl10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/observer/src/observer_procinfo.erl b/lib/observer/src/observer_procinfo.erl
index 13e41cfe33..45218c177b 100644
--- a/lib/observer/src/observer_procinfo.erl
+++ b/lib/observer/src/observer_procinfo.erl
@@ -127,17 +127,15 @@ terminate(_Reason, #state{parent=Parent,pid=Pid,frame=Frame}) ->
ok.
code_change(_, _, State) ->
- {stop, not_yet_implemented, State}.
+ {ok, State}.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
init_process_page(Panel, Pid) ->
Fields0 = process_info_fields(Pid),
{FPanel, _, UpFields} = observer_lib:display_info(Panel, Fields0),
- {FPanel, fun() -> case process_info_fields(Pid) of
- Fields when is_list(Fields) ->
- observer_lib:update_info(UpFields, Fields);
- _ -> ok
- end
+ {FPanel, fun() ->
+ Fields = process_info_fields(Pid),
+ observer_lib:update_info(UpFields, Fields)
end}.
init_text_page(Parent) ->