Skip to content

Commit b87aa1f

Browse files
author
Shane Caraveo
committed
Fixes for non-TS compilation
1 parent 4829b93 commit b87aa1f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

ext/com/VARIANT.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ static pval php_VARIANT_get_property_handler(zend_property_reference *property_r
185185
{
186186
zend_overloaded_element *overloaded_property;
187187
int type;
188-
TSRMLS_FETCH();
189-
190188
pval result, **var_handle, *object = property_reference->object;
191189
VARIANT *var_arg;
190+
TSRMLS_FETCH();
191+
192192

193193
/* fetch the VARIANT structure */
194194
zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &var_handle);
@@ -230,10 +230,10 @@ static int php_VARIANT_set_property_handler(zend_property_reference *property_re
230230
{
231231
zend_overloaded_element *overloaded_property;
232232
int type;
233-
TSRMLS_FETCH();
234-
235233
pval **var_handle, *object = property_reference->object;
236234
VARIANT *var_arg;
235+
TSRMLS_FETCH();
236+
237237

238238
/* fetch the VARIANT structure */
239239
zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &var_handle);

ext/rpc/com/variant.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ static pval php_VARIANT_get_property_handler(zend_property_reference *property_r
185185
{
186186
zend_overloaded_element *overloaded_property;
187187
int type;
188-
TSRMLS_FETCH();
189-
190188
pval result, **var_handle, *object = property_reference->object;
191189
VARIANT *var_arg;
190+
TSRMLS_FETCH();
191+
192192

193193
/* fetch the VARIANT structure */
194194
zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &var_handle);
@@ -230,10 +230,10 @@ static int php_VARIANT_set_property_handler(zend_property_reference *property_re
230230
{
231231
zend_overloaded_element *overloaded_property;
232232
int type;
233-
TSRMLS_FETCH();
234-
235233
pval **var_handle, *object = property_reference->object;
236234
VARIANT *var_arg;
235+
TSRMLS_FETCH();
236+
237237

238238
/* fetch the VARIANT structure */
239239
zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &var_handle);

0 commit comments

Comments
 (0)