cvs: php4 /ext/standard string.c

From: Date: Tue, 18 Jul 2000 20:40:25 +0000
Subject: cvs: php4 /ext/standard string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-806@lists.php.net to get a copy of this message
zeev Tue Jul 18 13:40:25 2000 EDT Modified files: /php4/ext/standard string.c Log: Shutup a gcc warning Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.136 php4/ext/standard/string.c:1.137 --- php4/ext/standard/string.c:1.136 Mon Jul 17 03:22:30 2000 +++ php4/ext/standard/string.c Tue Jul 18 13:40:23 2000 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.136 2000/07/17 10:22:30 stas Exp $ */ +/* $Id: string.c,v 1.137 2000/07/18 20:40:23 zeev Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -2602,7 +2602,7 @@ char *pad_str_val = " "; /* Pointer to padding string */ int pad_str_len = 1; /* Length of the padding string */ int pad_type_val = STR_PAD_RIGHT; /* The padding type value */ - int i, left_pad, right_pad; + int i, left_pad=0, right_pad=0; if (ZEND_NUM_ARGS() < 2 || ZEND_NUM_ARGS() > 4 ||

« previous php.cvs (#806) next »