Kaydet (Commit) 16f8348f authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308429 Unchecked return value

Change-Id: I1d7db630eb6d0c12c5eb8b507be114693689e4e1
üst dc0b9ffb
...@@ -484,7 +484,7 @@ OUString StorageHolder::impl_st_normPath(const OUString& sPath) ...@@ -484,7 +484,7 @@ OUString StorageHolder::impl_st_normPath(const OUString& sPath)
OUString sNormedPath = sPath; OUString sNormedPath = sPath;
// "/bla" => "bla" && "/" => "" (!) // "/bla" => "bla" && "/" => "" (!)
sNormedPath.startsWith(PATH_SEPARATOR, &sNormedPath); (void)sNormedPath.startsWith(PATH_SEPARATOR, &sNormedPath);
// "/" => "" || "" => "" ? // "/" => "" || "" => "" ?
if (sNormedPath.isEmpty()) if (sNormedPath.isEmpty())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment