summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-09-24 15:34:54 +0000
committerStig Bakken <ssb@php.net>1999-09-24 15:34:54 +0000
commita4bc9478f89c35c8973fbdd4a3627686b76b50b7 (patch)
tree399c11c394885a4b01ecc7e62f0a632d8026caec
parent63b101f36d057ab35c6a4910aaf8f47e59a26546 (diff)
downloadphp-git-a4bc9478f89c35c8973fbdd4a3627686b76b50b7.tar.gz
kill another warning
-rw-r--r--ext/standard/string.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 22bcbc6c3b..a081a62e05 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -1940,7 +1940,9 @@ void _php3_strip_tags(char *rbuf, int len, int state, char *allow) {
_php3_strtolower(allow);
tbuf = emalloc(PHP_TAG_BUF_SIZE+1);
tp = tbuf;
- } else tp=NULL;
+ } else {
+ tbuf = tp = NULL;
+ }
while(i<len) {
switch (c) {