summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-12 16:50:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-12 19:43:04 +0100
commit819e76dc6082a21fd9c4f8866e4fc4cd20cd90f1 (patch)
tree818946d65af4a80d1599c1d5d70001e4fbed848a /soltools
parent503e0173bf1e207b05a33cc17e03d8b9dbcbc56b (diff)
Revert "loplugin:constfields in smoketest..sot"
This reverts commit 1de7e818a417a412678013c100b4bf73fd8858ac. Change-Id: Ie1100fd1af636a0538f589845b9391ba40dbf12a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90417 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'soltools')
-rw-r--r--soltools/cpp/_eval.c6
-rw-r--r--soltools/cpp/_lex.c2
-rw-r--r--soltools/cpp/_nlist.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/soltools/cpp/_eval.c b/soltools/cpp/_eval.c
index 3d19974da825..7efdd82715d9 100644
--- a/soltools/cpp/_eval.c
+++ b/soltools/cpp/_eval.c
@@ -43,9 +43,9 @@ struct value
/* operator priority, arity, and conversion type, indexed by tokentype */
struct pri
{
- char const pri;
- char const arity;
- char const ctype;
+ char pri;
+ char arity;
+ char ctype;
};
static const struct pri priority[] =
diff --git a/soltools/cpp/_lex.c b/soltools/cpp/_lex.c
index dfd8605a3950..135c36ca4f93 100644
--- a/soltools/cpp/_lex.c
+++ b/soltools/cpp/_lex.c
@@ -68,7 +68,7 @@ struct fsm
{
int state; /* if in this state */
uchar ch[4]; /* and see one of these characters */
- int const nextstate; /* enter this state if +ve */
+ int nextstate; /* enter this state if +ve */
};
static const struct fsm fsm[] = {
diff --git a/soltools/cpp/_nlist.c b/soltools/cpp/_nlist.c
index 557de6c1fc80..096cc525fd40 100644
--- a/soltools/cpp/_nlist.c
+++ b/soltools/cpp/_nlist.c
@@ -38,9 +38,9 @@ static Nlist *nlist[NLSIZE];
struct kwtab
{
- char * const kw;
- int const val;
- int const flag;
+ char *kw;
+ int val;
+ int flag;
};
static const struct kwtab kwtab[] =