Skip to content

Commit f12e290

Browse files
committed
Use newly introduced macro here too
1 parent 0a5fd12 commit f12e290

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/MongoDB/Manager.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -797,11 +797,7 @@ static HashTable* php_phongo_manager_get_debug_info(zval* object, int* is_temp T
797797
mongoc_server_description_t** sds;
798798
size_t i, n = 0;
799799
zval retval = ZVAL_STATIC_INIT;
800-
#if PHP_VERSION_ID >= 70000
801-
zval cluster;
802-
#else
803-
zval* cluster = NULL;
804-
#endif
800+
ZVAL_RETVAL_TYPE cluster;
805801

806802
*is_temp = 1;
807803
intern = Z_MANAGER_OBJ_P(object);

0 commit comments

Comments
 (0)