mirror of https://gitee.com/bigwinds/arangodb
Silence another compiler warning.
This commit is contained in:
parent
5d15b4fba5
commit
c4918e4fb7
|
@ -865,7 +865,7 @@ int TRI_AddCollectionTransaction (TRI_transaction_t* trx,
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if we already have got this collection in the _collections vector
|
// check if we already have got this collection in the _collections vector
|
||||||
size_t position;
|
size_t position = 0;
|
||||||
TRI_transaction_collection_t* trxCollection = FindCollection(trx, cid, &position);
|
TRI_transaction_collection_t* trxCollection = FindCollection(trx, cid, &position);
|
||||||
|
|
||||||
if (trxCollection != nullptr) {
|
if (trxCollection != nullptr) {
|
||||||
|
|
Loading…
Reference in New Issue