aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/fileutils.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-11-11 18:05:05 +0100
committerShauren <shauren.trinity@gmail.com>2021-02-06 21:41:51 +0100
commita68ab3241a54d60b283f4898f4002e6e5d7549ab (patch)
treef27839ac0b68eeef1ed39e54a6fb6680e6300801 /dep/g3dlite/source/fileutils.cpp
parentc44478664a0b9ac47e0779b433f08efc38c64022 (diff)
Core/Misc: Fix static analysis issues
(cherry picked from commit 7e73f5f1edd8c99c3639e2a342cf044f6192fb6a)
Diffstat (limited to 'dep/g3dlite/source/fileutils.cpp')
-rw-r--r--dep/g3dlite/source/fileutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/g3dlite/source/fileutils.cpp b/dep/g3dlite/source/fileutils.cpp
index 2788adad3bc..f5310084cec 100644
--- a/dep/g3dlite/source/fileutils.cpp
+++ b/dep/g3dlite/source/fileutils.cpp
@@ -490,7 +490,7 @@ void parseFilename(
}
- } else if ((f.size() >= 2) & isSlash(f[0]) && isSlash(f[1])) {
+ } else if ((f.size() >= 2) && isSlash(f[0]) && isSlash(f[1])) {
// e.g. //foo
root = f.substr(0, 2);