Skip to content

Commit e66e558

Browse files
committed
Correctly set default parameter value
1 parent d21982c commit e66e558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB/Cursor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static PHP_METHOD(MongoDB_Driver_Cursor, toArray)
143143
static PHP_METHOD(MongoDB_Driver_Cursor, getId)
144144
{
145145
php_phongo_cursor_t* intern;
146-
zend_bool asInt64;
146+
zend_bool asInt64 = false;
147147

148148
intern = Z_CURSOR_OBJ_P(getThis());
149149

0 commit comments

Comments
 (0)