From c4918e4fb7dd408f7c555c56be504b5344cf4a0f Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Fri, 22 Aug 2014 09:36:31 +0200 Subject: [PATCH] Silence another compiler warning. --- arangod/VocBase/transaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arangod/VocBase/transaction.cpp b/arangod/VocBase/transaction.cpp index 962f656947..6aa8700bb2 100644 --- a/arangod/VocBase/transaction.cpp +++ b/arangod/VocBase/transaction.cpp @@ -865,7 +865,7 @@ int TRI_AddCollectionTransaction (TRI_transaction_t* trx, } // 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); if (trxCollection != nullptr) {