diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:55:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-10 11:18:35 +0100 |
commit | f68f3b98cc47868cda3a75298a211c5735c0a4e7 (patch) | |
tree | 13eed7d0b65c9e2c39f5274eed61c32d8976ae58 /soltools | |
parent | b95512e936b4eebb301c169e091bd9064c1eb2ac (diff) |
loplugin:indentation in soltools..svl
Change-Id: I270a12cdb68920b8fa23b82dd933724e30334485
Reviewed-on: https://gerrit.libreoffice.org/67565
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/cpp/_include.c | 2 | ||||
-rw-r--r-- | soltools/cpp/_tokens.c | 6 | ||||
-rw-r--r-- | soltools/mkdepend/main.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/soltools/cpp/_include.c b/soltools/cpp/_include.c index c9f20537f5eb..57ca137cb2cd 100644 --- a/soltools/cpp/_include.c +++ b/soltools/cpp/_include.c @@ -117,7 +117,7 @@ void error(FATAL, "#%s too deeply nested", import ? "import" : "include"); if (Xflag) genimport(fname, angled, iname, import); - if (Iflag) + if (Iflag) error(INFO, "Open %s file [%s]", import ? "import" : "include", iname ); for (i = NINCLUDE - 1; i >= 0; i--) diff --git a/soltools/cpp/_tokens.c b/soltools/cpp/_tokens.c index 6842de38301f..cb0beecf991d 100644 --- a/soltools/cpp/_tokens.c +++ b/soltools/cpp/_tokens.c @@ -429,11 +429,11 @@ void int nlen = (int)(ntp->len + ntp->wslen); memcpy(wbp, "if(", 3 ); - wbp += 4; + wbp += 4; memcpy(wbp, np, nlen ); - wbp += nlen; + wbp += nlen; memcpy(wbp, ")", 1 ); - wbp++; + wbp++; memcpy(wbp, p, len); } diff --git a/soltools/mkdepend/main.c b/soltools/mkdepend/main.c index a32e0dd38316..ee1cfb8efc7d 100644 --- a/soltools/mkdepend/main.c +++ b/soltools/mkdepend/main.c @@ -227,7 +227,7 @@ int main(int argc, char **argv) argc = 1; for (p = args; argc < nargc; p += strlen(p) + 1) if (*p) nargv[argc++] = p; - argv = nargv; + argv = nargv; } for(argc--, argv++; argc; argc--, argv++) { /* if looking for endmarker then check before parsing */ |