Small cleanup
This commit is contained in:
1 parent
f7bf43d39b
commit
663326bde6
1 file changed
+1
-3
+1
-3
@@ -111,10 +111,8 @@ class BookmarkStore {
|
||||
}
|
||||
}
|
||||
|
||||
bool closeOk = false;
|
||||
if (ok) {
|
||||
closeOk = f.close();
|
||||
if (!closeOk) {
|
||||
if (!f.close()) {
|
||||
LOG_ERR("BKM", "Failed to close bookmarks file");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user