summaryrefslogtreecommitdiff
path: root/soltools/cpp/_tokens.c
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-05 15:20:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-06 06:27:51 +0100
commit7b99cdb2d77a3feaf9b782c1e656f2d922e2746e (patch)
tree180459dcd8379ee1a2e89098a4d9eda72abe8f05 /soltools/cpp/_tokens.c
parent7ee07296a66df29555c9e9a684f24bc68201cb78 (diff)
loplugin:indentation find broken if statements
so I don't read the "then" block as being a sequential statements Change-Id: Ib2004acd3518bd4ebd2246f02a26c2c0a8bbab4c Reviewed-on: https://gerrit.libreoffice.org/82069 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'soltools/cpp/_tokens.c')
-rw-r--r--soltools/cpp/_tokens.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/soltools/cpp/_tokens.c b/soltools/cpp/_tokens.c
index ff01657204db..0a10cd34cdb1 100644
--- a/soltools/cpp/_tokens.c
+++ b/soltools/cpp/_tokens.c
@@ -513,8 +513,8 @@ void
{
if ( write(1, wbuf, (int)(wbp - wbuf)) != -1)
wbp = wbuf;
- else
- exit(1);
+ else
+ exit(1);
}
}