diff options
author | Zandra <[email protected]> | 2016-05-20 12:19:22 +0200 |
---|---|---|
committer | Zandra <[email protected]> | 2016-05-24 10:03:23 +0200 |
commit | 59c8678ca4765cabf1db0aa747eb2735b8af3a42 (patch) | |
tree | ad3a11e06d91d14625e9b3d63c7c22ab836be0f8 /lib/debugger/src/dbg_wx_winman.erl | |
parent | 673876912ae1c0a09d67b53dcec80544fcf517c7 (diff) | |
download | otp-59c8678ca4765cabf1db0aa747eb2735b8af3a42.tar.gz otp-59c8678ca4765cabf1db0aa747eb2735b8af3a42.tar.bz2 otp-59c8678ca4765cabf1db0aa747eb2735b8af3a42.zip |
dbg_wx* - fix remaining unmached_return warnings
Diffstat (limited to 'lib/debugger/src/dbg_wx_winman.erl')
-rw-r--r-- | lib/debugger/src/dbg_wx_winman.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debugger/src/dbg_wx_winman.erl b/lib/debugger/src/dbg_wx_winman.erl index efa58ae325..ca858fa4bb 100644 --- a/lib/debugger/src/dbg_wx_winman.erl +++ b/lib/debugger/src/dbg_wx_winman.erl @@ -100,11 +100,11 @@ update_windows_menu(Win, [MonInfo|Infos]) -> OldItems = wxMenu:getMenuItems(Menu), [wxMenu:delete(Menu, Item) || Item <- OldItems], menuitem(Win, Menu,MonInfo, 700), - wxMenu:appendSeparator(Menu), + _ = wxMenu:appendSeparator(Menu), wx:foldl(fun(Info,Acc) -> menuitem(Win,Menu,Info,Acc) end, 701, Infos). menuitem(Window, Menu, {Title, Win}, Id) -> - wxMenu:append(Menu, Id, Title), + _ = wxMenu:append(Menu, Id, Title), wxWindow:connect(Window, command_menu_selected, [{id,Id},{userData,{dbg_ui_winman,Win}}]), Id+1. |