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