Skip to content
Snippets Groups Projects
Commit 6f233d23 authored by asavard's avatar asavard
Browse files

[#4265] Add continue statement in for loop for invalid addressbook

parent f72720c5
Branches
Tags
No related merge requests found
......@@ -112,8 +112,10 @@ addressbook_config_books()
book_data = books_get_book_data_by_uid (*config_book_uid);
// If book_data exists
if (!book_data)
if (!book_data) {
ERROR ("Addressbook: Error: Could not open book (%s:%d)", __FILE__, __LINE__);
continue;
}
book_data->active = TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment