summaryrefslogtreecommitdiff
path: root/soltools
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
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')
-rw-r--r--soltools/cpp/_tokens.c4
-rw-r--r--soltools/mkdepend/include.c2
2 files changed, 3 insertions, 3 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);
}
}
diff --git a/soltools/mkdepend/include.c b/soltools/mkdepend/include.c
index 153c62b86c28..fd005c3284c7 100644
--- a/soltools/mkdepend/include.c
+++ b/soltools/mkdepend/include.c
@@ -196,7 +196,7 @@ void remove_dotdot(char *path)
*tp++ = *fp; /* move all the pointers down */
} while (*fp++);
if (cp != components)
- cp--; /* go back and check for nested ".." */
+ cp--; /* go back and check for nested ".." */
} else {
cp++;
}