diff options
author | Zandra <[email protected]> | 2016-05-19 11:07:13 +0200 |
---|---|---|
committer | Zandra <[email protected]> | 2016-05-24 10:03:15 +0200 |
commit | 673876912ae1c0a09d67b53dcec80544fcf517c7 (patch) | |
tree | 411b6d87f74608adf0200cbaa4d7ddf3bab7a075 /lib/debugger/src/dbg_wx_src_view.erl | |
parent | b47ac2f6fb48b13c0364dc0a876469ad6bd1bf9e (diff) | |
download | otp-673876912ae1c0a09d67b53dcec80544fcf517c7.tar.gz otp-673876912ae1c0a09d67b53dcec80544fcf517c7.tar.bz2 otp-673876912ae1c0a09d67b53dcec80544fcf517c7.zip |
dbg_wx_* - fix unmatched return warnings
Ignore the wxSizer returns since we are not intereseted in them
but only the side effects.
Diffstat (limited to 'lib/debugger/src/dbg_wx_src_view.erl')
-rw-r--r-- | lib/debugger/src/dbg_wx_src_view.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debugger/src/dbg_wx_src_view.erl b/lib/debugger/src/dbg_wx_src_view.erl index 571c6b01bb..207c407fbc 100644 --- a/lib/debugger/src/dbg_wx_src_view.erl +++ b/lib/debugger/src/dbg_wx_src_view.erl @@ -56,7 +56,7 @@ code_area(Parent, Sizer) -> end, [SetStyle(Style) || Style <- Styles], ?stc:setKeyWords(Ed, 0, keyWords()), - wxSizer:add(Sizer, Ed, [{proportion,1}, {flag, ?wxEXPAND}]), + _ = wxSizer:add(Sizer, Ed, [{proportion,1}, {flag, ?wxEXPAND}]), Ed. |