diff --git a/src/import_pipeline.cc b/src/import_pipeline.cc index 8fad369a..9dac1069 100644 --- a/src/import_pipeline.cc +++ b/src/import_pipeline.cc @@ -129,8 +129,6 @@ std::vector DoParseFile( if (!last_cached_modification || modification_timestamp != *last_cached_modification) { file_consumer_shared->Reset(path); - timestamp_manager->UpdateCachedModificationTime( - path, *modification_timestamp); return FileParseQuery::NeedsParse; } diff --git a/src/indexer.cc b/src/indexer.cc index 9e241cc8..269bd853 100644 --- a/src/indexer.cc +++ b/src/indexer.cc @@ -1984,7 +1984,6 @@ std::vector> ParseWithTu( if (index_result != CXError_Success) { LOG_S(WARNING) << "Indexing " << file << " failed with errno=" << index_result; - return {}; } clang_IndexAction_dispose(index_action);