backend/drm: fix return value type in create_drm_connector()

../backend/drm/drm.c:1435:24: error: incompatible types when returning type ‘_Bool’ but ‘struct wlr_drm_connector *’ was expected
     1435 |                 return false;
          |                        ^~~~~
This commit is contained in:
Simon Ser 2024-05-10 09:37:12 +02:00 committed by Simon Zeni
parent a75c6cca54
commit 29cb151987

View File

@ -1408,7 +1408,7 @@ static struct wlr_drm_connector *create_drm_connector(struct wlr_drm_backend *dr
if (!get_drm_connector_props(drm->fd, wlr_conn->id, &wlr_conn->props)) {
free(wlr_conn);
return false;
return NULL;
}
const char *conn_name =