diff --git a/compilerplugins/clang/unusedmethodsremove.cxx b/compilerplugins/clang/unusedmethodsremove.cxx index 908773316ac2..01b71b1cbad3 100644 --- a/compilerplugins/clang/unusedmethodsremove.cxx +++ b/compilerplugins/clang/unusedmethodsremove.cxx @@ -59,7 +59,7 @@ UnusedMethodsRemove::UnusedMethodsRemove(InstantiationData const & data): Rewrit mmapFD = open(sInputFile, O_RDONLY, 0); assert(mmapFD != -1); //Execute mmap - mmappedData = static_cast(mmap(NULL, mmapFilesize, PROT_READ, MAP_PRIVATE | MAP_POPULATE, mmapFD, 0)); + mmappedData = static_cast(mmap(NULL, mmapFilesize, PROT_READ, MAP_PRIVATE, mmapFD, 0)); assert(mmappedData != NULL); }