Commit 8e6baf0b authored by Moritz Lipp's avatar Moritz Lipp

Initialize crop_box in test case

parent e32aef48
......@@ -310,7 +310,7 @@ START_TEST(test_page_set_crop_box) {
fail_unless(zathura_page_new(&page) == ZATHURA_ERROR_OK);
fail_unless(page != NULL);
zathura_rectangle_t crop_box;
zathura_rectangle_t crop_box = { 0 };
/* basic invalid arguments */
fail_unless(zathura_page_set_crop_box(NULL, crop_box) == ZATHURA_ERROR_INVALID_ARGUMENTS);
......
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