loplugin:indentation improve checks for brace alignment
Change-Id: I333100fda7e181f68f36b03279b3fbb8cb768310 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117615 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -493,12 +493,13 @@ void
|
||||
|
||||
if (wbp >= &wbuf[OBS])
|
||||
{
|
||||
if ( write(1, wbuf, OBS) != -1 ) {
|
||||
if (wbp > &wbuf[OBS])
|
||||
memmove(wbuf, wbuf + OBS, wbp - &wbuf[OBS]);
|
||||
wbp -= OBS;
|
||||
}
|
||||
else exit(1);
|
||||
if ( write(1, wbuf, OBS) != -1 )
|
||||
{
|
||||
if (wbp > &wbuf[OBS])
|
||||
memmove(wbuf, wbuf + OBS, wbp - &wbuf[OBS]);
|
||||
wbp -= OBS;
|
||||
}
|
||||
else exit(1);
|
||||
}
|
||||
}
|
||||
trp->tp = tp;
|
||||
|
||||
Reference in New Issue
Block a user