clang-tidy: don't use else after return

Found with llvm-else-after-return

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-05-13 19:02:57 -07:00
committed by Luis Díaz Más
parent f956a398ad
commit fdf9d3799c
17 changed files with 128 additions and 164 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ namespace Exiv2 {
std::string path = url.substr(7);
size_t found = path.find('/');
if (found == std::string::npos) return path;
else return path.substr(found);
return path.substr(found);
}
#ifdef EXV_UNICODE_PATH
std::wstring pathOfFileUrl(const std::wstring& wurl) {