Skip to content

Commit c6d1d78

Browse files
committed
Merged pull request #899
2 parents 877637c + c6bbbc3 commit c6d1d78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MongoDB/Session.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ static bool php_phongo_session_get_timestamp_parts(zval* obj, uint32_t* timestam
3939
{
4040
bool retval = false;
4141
#if PHP_VERSION_ID >= 70000
42-
zval ztimestamp;
43-
zval zincrement;
42+
zval ztimestamp = ZVAL_STATIC_INIT;
43+
zval zincrement = ZVAL_STATIC_INIT;
4444

4545
zend_call_method_with_0_params(obj, NULL, NULL, "getTimestamp", &ztimestamp);
4646

0 commit comments

Comments
 (0)