aboutsummaryrefslogtreecommitdiff
path: root/src/kconfig_compiler/KConfigXmlParser.cpp
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2021-07-05 00:37:28 +0200
committerAleix Pol <aleixpol@kde.org>2021-07-05 15:51:02 +0200
commite74f28482253890d1c7e74fa51f087cc3310ce60 (patch)
treea4b900cc5dbfdc84c74e34f73ab5f503479ca0f6 /src/kconfig_compiler/KConfigXmlParser.cpp
parent57296d5c85a426918a634b15f814a7435b899d32 (diff)
downloadkconfig-e74f28482253890d1c7e74fa51f087cc3310ce60.tar.gz
kconfig-e74f28482253890d1c7e74fa51f087cc3310ce60.tar.bz2
Only query for existing config file when it's necessary
We are only interested in whether the file doesn't exist when it fails to open. This saves a stat on every successful config file parse.
Diffstat (limited to 'src/kconfig_compiler/KConfigXmlParser.cpp')
0 files changed, 0 insertions, 0 deletions