Fix error in fuzz-lib

This commit is contained in:
project-repo 2020-05-29 15:10:30 +02:00
commit 29da707463

View file

@ -20,6 +20,7 @@
#include <wayland-server-core.h>
#include <wlr/backend.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_keyboard_group.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_cursor.h>
@ -317,12 +318,6 @@ LLVMFuzzerInitialize(int *argc, char ***argv) {
goto end;
}
if(!compositor) {
wlr_log(WLR_ERROR, "Unable to create the wlroots compositor");
ret = 1;
goto end;
}
compositor = wlr_compositor_create(server.wl_display, renderer);
if(!compositor) {
wlr_log(WLR_ERROR, "Unable to create the wlroots compositor");