mirror of
https://github.com/php/php-src.git
synced 2025-01-26 21:54:16 +08:00
Use memset() instead.
This commit is contained in:
parent
33730ca2b9
commit
25058db066
@ -296,7 +296,10 @@ PHP_FUNCTION(get_meta_tags)
|
||||
int saw_name = 0, saw_content = 0;
|
||||
char *name = NULL, *value = NULL, *temp = NULL;
|
||||
php_meta_tags_token tok, tok_last;
|
||||
php_meta_tags_data md = {NULL, 0, 0, 0, 0, NULL, NULL, 0, 0};
|
||||
php_meta_tags_data md;
|
||||
|
||||
/* Initiailize our structure */
|
||||
memset(&md, 0, sizeof(md));
|
||||
|
||||
/* Parse arguments */
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b",
|
||||
|
Loading…
Reference in New Issue
Block a user