diff --git a/DataStructures/SharedMemoryFactory.h b/DataStructures/SharedMemoryFactory.h index a7c7f1759..ab5b8c9f9 100644 --- a/DataStructures/SharedMemoryFactory.h +++ b/DataStructures/SharedMemoryFactory.h @@ -286,7 +286,6 @@ class SharedMemory : boost::noncopyable private: static void build_key(int id, char *key) { - OSRMLockFile lock_file; sprintf(key, "%s.%d", "osrm.lock", id); }