summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 1fed382..90b4af1 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -4479,18 +4479,14 @@ struct FindFileCacheElem
static QCache<FindFileCacheElem> g_findFileDefCache(5000);
-#if MULTITHREADED_INPUT
static std::mutex g_findFileDefMutex;
-#endif
FileDef *findFileDef(const FileNameLinkedMap *fnMap,const char *n,bool &ambig)
{
ambig=FALSE;
if (n==0) return 0;
-#if MULTITHREADED_INPUT
std::unique_lock<std::mutex> lock(g_findFileDefMutex);
-#endif
const int maxAddrSize = 20;
char addr[maxAddrSize];