Skip to content

Commit 39c5de0

Browse files
committed
Use {0} to initialize instead of {NULL}
1 parent 63761d1 commit 39c5de0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/phar/func_interceptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ static struct _phar_orig_functions {
11001100
zif_handler orig_lstat;
11011101
zif_handler orig_readfile;
11021102
zif_handler orig_stat;
1103-
} phar_orig_functions = {NULL};
1103+
} phar_orig_functions = {0};
11041104

11051105
void phar_save_orig_functions(void) /* {{{ */
11061106
{

ext/standard/html.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ static const entity_ht *unescape_inverse_map(int all, int flags)
10261026
* unicode code points */
10271027
static entity_table_opt determine_entity_table(int all, int doctype)
10281028
{
1029-
entity_table_opt retval = {NULL};
1029+
entity_table_opt retval = {0};
10301030

10311031
assert(!(doctype == ENT_HTML_DOC_XML1 && all));
10321032

0 commit comments

Comments
 (0)