From 7b0275ebf714d0e65294e6801112067ccf513852 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 4 Jan 2015 20:31:45 +0100 Subject: [PATCH] string.c, swallow "warning: value computed is not used" --- src/misc/string.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/misc/string.c b/src/misc/string.c index 9393b0c0e..07386f43d 100644 --- a/src/misc/string.c +++ b/src/misc/string.c @@ -370,7 +370,7 @@ gettok_noparens(char **s) ( **s != ')' ) && ( **s != ',') ) { - *(*s)++ ; + (*s)++ ; } token = copy_substring(beg, *s) ; @@ -400,7 +400,7 @@ gettok_instance(char **s) ( **s != '(' ) && ( **s != ')' ) ) { - *(*s)++ ; + (*s)++ ; } token = copy_substring(beg, *s) ; @@ -443,7 +443,7 @@ gettok_char(char **s, char p, bool inc_p, bool nested) q = '('; /* add string in front of q, excluding q */ while ((c = **s) != '\0' && ( **s != q )) { - *(*s)++ ; + (*s)++ ; } /* return if nested bracket found, excluding its character */ while ((c = **s) != '\0') { @@ -452,13 +452,13 @@ gettok_char(char **s, char p, bool inc_p, bool nested) if (count == 0) { break; } - *(*s)++ ; + (*s)++ ; } } else /* just look for p and return string, excluding p */ while ((c = **s) != '\0' && ( **s != p )) { - *(*s)++ ; + (*s)++ ; } if (c == '\0') @@ -467,7 +467,7 @@ gettok_char(char **s, char p, bool inc_p, bool nested) if (inc_p) /* add p */ - *(*s)++ ; + (*s)++ ; token = copy_substring(beg, *s) ;