diff --git a/apps/openmw/mwworld/esmstore.cpp b/apps/openmw/mwworld/esmstore.cpp index 222dec2d9d..6f7f6c8a00 100644 --- a/apps/openmw/mwworld/esmstore.cpp +++ b/apps/openmw/mwworld/esmstore.cpp @@ -147,7 +147,7 @@ namespace MWWorld IDMap mStaticIds; template - static int assignStoreToIndex(ESMStore& stores, Store& store) + static void assignStoreToIndex(ESMStore& stores, Store& store) { const std::size_t storeIndex = ESMStore::getTypeIndex(); if (stores.mStores.size() <= storeIndex) @@ -165,7 +165,6 @@ namespace MWWorld stores.mStoreImp->mRecNameToStore[recName] = &store; } } - return 0; } };