Commit 0e3efe05 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Fix compiler warnings



Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent f2ed53aa
......@@ -258,11 +258,11 @@ set_adjustment(GtkAdjustment* adjustment, gdouble value)
double
page_calc_height_width(zathura_page_t* page, unsigned int* page_height, unsigned int* page_width, bool rotate)
{
g_return_if_fail(page != NULL && page_height != NULL && page_width != NULL);
g_return_val_if_fail(page != NULL && page_height != NULL && page_width != NULL, 0.0);
zathura_document_t* document = zathura_page_get_document(page);
if (document == NULL) {
return;
return 0.0;
}
double height = zathura_page_get_height(page);
......
Supports Markdown
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