summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-09-28 17:37:06 +0000
committerAndi Gutmans <andi@php.net>1999-09-28 17:37:06 +0000
commitcf6c92949c8b310ddf1023aa1e28de76754b6891 (patch)
treee4f907189e068771c83aa9004c2779cdcb020b84
parentb56fd4602f85c6c8bd2a63122b28ebe1963eab69 (diff)
downloadphp-git-cf6c92949c8b310ddf1023aa1e28de76754b6891.tar.gz
- Get rid of warning
-rw-r--r--ext/standard/string.c1
-rw-r--r--tests/testfunc22
2 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 46abe6e917..b382cc4d4e 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -403,7 +403,6 @@ PHPAPI char *_php3_strtoupper(char *s)
PHP_FUNCTION(strtoupper)
{
pval **arg;
- char *ret;
if (ARG_COUNT(ht) != 1 || getParametersEx(1, &arg)) {
WRONG_PARAM_COUNT;
diff --git a/tests/testfunc2 b/tests/testfunc2
index 9bcae0f183..42f91f2bae 100644
--- a/tests/testfunc2
+++ b/tests/testfunc2
@@ -14,6 +14,6 @@ function bar($a)
foo($a);
}
-for ($i=0; $i<1000000; $i=$i+1) {
+for ($i=0; $i<10000; $i=$i+1) {
bar($i);
}