Skip to content

Commit ee1cb00

Browse files
committed
remove MAKE_STD_ZVAL
1 parent 562a341 commit ee1cb00

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

win32ps.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ PHP_WIN32PS_API int php_win32ps_procinfo(int proc, zval *array, int error_flags
137137
add_assoc_stringl(array, "exe", f, l, 1);
138138
}
139139

140-
MAKE_STD_ZVAL(mem);
141140
array_init(mem);
142141
add_assoc_zval(array, "mem", mem);
143142
/* Number of page faults. */
@@ -159,7 +158,6 @@ PHP_WIN32PS_API int php_win32ps_procinfo(int proc, zval *array, int error_flags
159158
/* Peak space allocated for the pagefile, in bytes. */
160159
add_assoc_long(mem, "peak_pagefile_usage", (long) memory.PeakPagefileUsage);
161160

162-
MAKE_STD_ZVAL(tms);
163161
array_init(tms);
164162
add_assoc_zval(array, "tms", tms);
165163

@@ -227,7 +225,6 @@ PHP_FUNCTION(win32_ps_list_procs)
227225
for (i = 0; i < proc_count/sizeof(int); ++i) {
228226
zval *entry;
229227

230-
MAKE_STD_ZVAL(entry);
231228
array_init(entry);
232229
if (SUCCESS == php_win32ps_procinfo(processes[i], entry, PHP_WIN32PS_HANDLE_OPS TSRMLS_CC)) {
233230
add_next_index_zval(return_value, entry);

0 commit comments

Comments
 (0)