Skip to content

Commit 1a2b881

Browse files
authored
PHPC-2268: Remove duplicate call to bson_iter_key (#1452)
1 parent 3398fdf commit 1a2b881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BSON/Iterator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static PHP_METHOD(MongoDB_BSON_Iterator, key)
154154
return;
155155
}
156156

157-
RETURN_STRING(bson_iter_key(&intern->iter));
157+
RETURN_STRING(key);
158158
}
159159

160160
static PHP_METHOD(MongoDB_BSON_Iterator, next)

0 commit comments

Comments
 (0)