projects
/
platform
/
core
/
system
/
sessiond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb34dcf
)
Remove a redundant check.
76/318576/6
author
Michal Bloch
<m.bloch@samsung.com>
Mon, 3 Feb 2025 19:07:52 +0000
(20:07 +0100)
committer
Michal Bloch
<m.bloch@samsung.com>
Tue, 4 Feb 2025 13:30:04 +0000
(14:30 +0100)
Change-Id: I86ae8fecafe17627ebcb2e0955e6faccfed8caeb
src/service/src/dir_backend_regular_dir.cpp
patch
|
blob
|
history
diff --git
a/src/service/src/dir_backend_regular_dir.cpp
b/src/service/src/dir_backend_regular_dir.cpp
index 43422034b92ddb9fc66b65cba484f99162d939fc..38a005cd5b1a54acee31e08e710924e21fe14de9 100644
(file)
--- a/
src/service/src/dir_backend_regular_dir.cpp
+++ b/
src/service/src/dir_backend_regular_dir.cpp
@@
-37,8
+37,7
@@
void DirBackendRegularDir::RemoveSubsession (const fs::path& subsession_path)
/* Ensure that any possible residue from previously
* failed subsession deletion is cleaned up. */
- if (fs::exists(tmp_subsession_path))
- fs::remove_all(tmp_subsession_path);
+ fs::remove_all(tmp_subsession_path);
/* Renaming also removes whatever was under the tmp path, which
* could be residue left over from an earlier failed removal attempt. */