diff options
Diffstat (limited to 'src/os/IndexManager.cc')
-rw-r--r-- | src/os/IndexManager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/IndexManager.cc b/src/os/IndexManager.cc index 11bf5c18172..412721a04c8 100644 --- a/src/os/IndexManager.cc +++ b/src/os/IndexManager.cc @@ -81,9 +81,9 @@ int IndexManager::init_index(coll_t c, const char *path, uint32_t version) { } int IndexManager::build_index(coll_t c, const char *path, Index *index) { - int r; if (upgrade) { // Need to check the collection generation + int r; uint32_t version = 0; r = get_version(path, &version); if (r < 0) |