cvs: php4 /ext/mysql/libmysql string.c
| From: | Marcus B�rger | Date: | Thu, 24 Oct 2002 19:04:34 +0000 |
| Subject: | cvs: php4 /ext/mysql/libmysql string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15384@lists.php.net to get a copy of this message | ||
helly Thu Oct 24 15:04:34 2002 EDT
Modified files:
/php4/ext/mysql/libmysql string.c
Log:
fix compiler warning
Index: php4/ext/mysql/libmysql/string.c
diff -u php4/ext/mysql/libmysql/string.c:1.5 php4/ext/mysql/libmysql/string.c:1.6
--- php4/ext/mysql/libmysql/string.c:1.5 Tue Jan 23 11:48:49 2001
+++ php4/ext/mysql/libmysql/string.c Thu Oct 24 15:04:34 2002
@@ -37,7 +37,7 @@
my_bool dynstr_set(DYNAMIC_STRING *str, const char *init_str)
{
- uint length;
+ uint length=0;
DBUG_ENTER("dynstr_set");
if (init_str && (length= (uint) strlen(init_str)+1) > str->max_length)