diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2014-06-29 22:52:08 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-06-30 07:06:29 +0000 |
commit | f8018266ccff7ecceb26795aeb91a6ca560e8467 (patch) | |
tree | e20f278da79c8632b88ab6e53935feabf6709168 /sd/source/ui/dlg/RemoteDialogClientBox.cxx | |
parent | 0fef0d41f7e373d562c0689107183ab40e09d129 (diff) |
Remove double assignment
The semantic match that finds this problem is follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@r@
expression i,f;
position p1,p2;
@@
(
(<+...i++...+>) = ...;
|
(<+...++i...+>) = ...;
|
(<+...i--...+>) = ...;
|
(<+...--i...+>) = ...;
|
i = <+...f(...)...+>;
|
i@p1 = ...;
(
i = <+...i...+>;
|
i = <+...f(...)...+>;
|
i@p2 = ...;
)
)
@@
expression i;
position r.p1,r.p2;
@@
* i@p1 = ...;
i@p2 = ...;
// </smpl>
Change-Id: Ifacb878d58486f2645560592484ce24b2bc0bd6f
Reviewed-on: https://gerrit.libreoffice.org/9968
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/dlg/RemoteDialogClientBox.cxx')
0 files changed, 0 insertions, 0 deletions