aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/fileutils.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-11-11 18:05:05 +0100
committerjackpoz <giacomopoz@gmail.com>2017-11-11 20:03:35 +0100
commit7e73f5f1edd8c99c3639e2a342cf044f6192fb6a (patch)
treed776cd41dfb6140d9bf745bccfe76177fdaf8647 /dep/g3dlite/source/fileutils.cpp
parentf017b1d470aec0ca4918e059343d57de99fb2254 (diff)
Core/Misc: Fix static analysis issues
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);