From 73221db99737cc6fa239ffb035eb455ceeb346f7 Mon Sep 17 00:00:00 2001 From: Dmitri Gekhtman Date: Thu, 27 May 2021 13:50:31 -0700 Subject: [PATCH] restore variable declaration --- src/ray/object_manager/plasma/store.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ray/object_manager/plasma/store.cc b/src/ray/object_manager/plasma/store.cc index bf607b678..1db4a1f21 100644 --- a/src/ray/object_manager/plasma/store.cc +++ b/src/ray/object_manager/plasma/store.cc @@ -210,6 +210,7 @@ uint8_t *PlasmaStore::AllocateMemory(size_t size, MEMFD_TYPE *fd, int64_t *map_s // Try to evict objects until there is enough space. uint8_t *pointer = nullptr; + int num_tries = 0; while (true) { // Allocate space for the new object. We use memalign instead of malloc // in order to align the allocated region to a 64-byte boundary. This is not