File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -1028,7 +1028,6 @@ rename_op (mongoc_collection_t *collection,
1028
1028
mongoc_write_concern_t * wc )
1029
1029
{
1030
1030
bson_t args ;
1031
- bson_t result ;
1032
1031
const char * db ;
1033
1032
const char * to ;
1034
1033
bson_error_t error ;
@@ -1045,7 +1044,6 @@ rename_op (mongoc_collection_t *collection,
1045
1044
ASSERT_OR_PRINT (res , error );
1046
1045
1047
1046
bson_destroy (& args );
1048
- bson_destroy (& result );
1049
1047
}
1050
1048
1051
1049
@@ -1056,7 +1054,6 @@ drop (mongoc_collection_t *collection,
1056
1054
mongoc_client_session_t * session ,
1057
1055
mongoc_write_concern_t * wc )
1058
1056
{
1059
- bson_t result ;
1060
1057
bson_error_t error ;
1061
1058
bool res ;
1062
1059
@@ -1065,8 +1062,6 @@ drop (mongoc_collection_t *collection,
1065
1062
/* This operation is only run by change stream tests, which use
1066
1063
it to trigger further events and check all results elsewhere. */
1067
1064
ASSERT_OR_PRINT (res , error );
1068
-
1069
- bson_destroy (& result );
1070
1065
}
1071
1066
1072
1067
You can’t perform that action at this time.
0 commit comments