fix small clang warnings

This commit is contained in:
Jean-Francois Dockes
2021-04-21 03:51:46 -07:00
parent 3ac4349c64
commit 900f718074
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ static bool matchesSkipped(
string topdir;
for (;;) { // Used to test not root here, but root may be in topdirs !
for (const auto tdlent : tdl) {
for (const auto& tdlent : tdl) {
// the topdirs members are already canonized.
LOGDEB1("matchesSkipped: comparing ancestor [" << mpath <<
"] to topdir [" << tdlent << "]\n");