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) {
|
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