aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2011-09-21 17:05:59 +0200
committerDan Gudmundsson <[email protected]>2011-09-21 17:05:59 +0200
commit2a42a90da8497cbec2b2d6e6b39504bc0bffc869 (patch)
treed231f31208f50c45cda949c4321b48421d70345a /lib/wx/src/gen
parent3ea678d6036f10a6be7a5ae8c8431e067104b32f (diff)
downloadotp-2a42a90da8497cbec2b2d6e6b39504bc0bffc869.tar.gz
otp-2a42a90da8497cbec2b2d6e6b39504bc0bffc869.tar.bz2
otp-2a42a90da8497cbec2b2d6e6b39504bc0bffc869.zip
[wx] Remove optional shadowing clauses
In some cases the non optional clause could make some clauses unreachable. i.e. in the following example the second clause will never be reached. prepend(This,Window) when is_record(This, wx_ref),is_record(Window, wx_ref) -> prepend(This,Window, []); prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> ?CLASS(ThisT,wxSizer), ?CLASS(ItemT,wxSizerItem), wxe_util:call(?wxSizer_Prepend_1, <<ThisRef:32/?UI,ItemRef:32/?UI>>).
Diffstat (limited to 'lib/wx/src/gen')
0 files changed, 0 insertions, 0 deletions