Commit 418023d4 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Reduce scope of entry

parent bc6e1ca0
Pipeline #260 passed with stage
in 1 minute and 8 seconds
......@@ -36,8 +36,7 @@ pdf_page_search_text(zathura_page_t* page, void* data, const
goto error_free;
}
GList* entry = NULL;
for (entry = results; entry && entry->data; entry = g_list_next(entry)) {
for (GList* entry = results; entry && entry->data; entry = g_list_next(entry)) {
PopplerRectangle* poppler_rectangle = (PopplerRectangle*) entry->data;
zathura_rectangle_t* rectangle = g_malloc0(sizeof(zathura_rectangle_t));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment