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:
committed by
Luis Díaz Más
parent
f956a398ad
commit
fdf9d3799c
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user