summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2011-05-16 17:22:41 +0000
committerRasmus Lerdorf <rasmus@php.net>2011-05-16 17:22:41 +0000
commita5eeecb13f8683eaadb137aee33ac2dd292bf1fc (patch)
tree86905856349e51ae3ef7bc777340cc2e6092cbb0 /ext/standard/string.c
parent75ec1fedc7532b4743bedc1ec4881d90b7d71452 (diff)
downloadphp-git-a5eeecb13f8683eaadb137aee33ac2dd292bf1fc.tar.gz
Suppress a dozen unused return value warnings in places where the return
value is really not useful to us.
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r--ext/standard/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 7dde105247..7cd986c51e 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -1354,7 +1354,7 @@ PHPAPI void php_basename(char *s, size_t len, char *suffix, size_t sufflen, char
case -2:
case -1:
inc_len = 1;
- php_mblen(NULL, 0);
+ php_ignore_value(php_mblen(NULL, 0));
break;
case 0:
goto quit_loop;