summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-12-04 18:03:27 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-12-04 19:21:31 +0100
commitbc95ece0618b9886890d9c758b9d0ebc0fc41c69 (patch)
treea5e918591c4e8f82aab70c42032ff15b6ce609ad /soltools
parent22e1cdd3a2fc142fc5313e1dba942810c7e91f95 (diff)
cid#1546021 Using invalid iterator
and : cid#1545983 Using invalid iterator cid#1545969 Using invalid iterator cid#1545949 Using invalid iterator cid#1545929 Using invalid iterator cid#1545911 Using invalid iterator cid#1545910 Using invalid iterator cid#1545886 Using invalid iterator cid#1545870 Using invalid iterator cid#1545813 Using invalid iterator Change-Id: I2ad10c2a9affd348050a4abe0917a90927a52547 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160317 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'soltools')
-rw-r--r--soltools/mkdepend/collectdircontent.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/soltools/mkdepend/collectdircontent.cxx b/soltools/mkdepend/collectdircontent.cxx
index c5e910c2e7bf..2f64520b773a 100644
--- a/soltools/mkdepend/collectdircontent.cxx
+++ b/soltools/mkdepend/collectdircontent.cxx
@@ -68,6 +68,7 @@ bool IncludesCollection::exists(std::string filePath) {
add_to_collection(dirPath);
mapIter = allIncludes.find(dirPath);
}
+ assert(mapIter != allIncludes.end());
DirContent dirContent = (*mapIter).second;
DirContent::iterator dirIter = dirContent.find(fileName);
return dirIter != dirContent.end();