Remove unnecessary semicolons
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
committed by
Noel Grandin
parent
a1dedadbf0
commit
3b24dcc8a8
@@ -376,7 +376,7 @@ void JobURL::impldbg_checkURL( /*IN*/ const sal_Char* pURL ,
|
||||
(aURL.getEventArgs(sEventArgs) ) &&
|
||||
(sEventArgs.equalsAscii(pExpectedEventArgs))
|
||||
);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// check if URL has no event part
|
||||
@@ -412,7 +412,7 @@ void JobURL::impldbg_checkURL( /*IN*/ const sal_Char* pURL ,
|
||||
(aURL.getAliasArgs(sAliasArgs) ) &&
|
||||
(sAliasArgs.equalsAscii(pExpectedAliasArgs))
|
||||
);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// check if URL has the no alias part
|
||||
@@ -448,7 +448,7 @@ void JobURL::impldbg_checkURL( /*IN*/ const sal_Char* pURL ,
|
||||
(aURL.getServiceArgs(sServiceArgs) ) &&
|
||||
(sServiceArgs.equalsAscii(pExpectedServiceArgs))
|
||||
);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// check if URL has the no service part
|
||||
|
Reference in New Issue
Block a user