From a4bc9478f89c35c8973fbdd4a3627686b76b50b7 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Fri, 24 Sep 1999 15:34:54 +0000 Subject: [PATCH] kill another warning --- ext/standard/string.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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