mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-15 06:59:49 -05:00
Cleanup declared but unused variables.
Make was complaining about a bunch of unused variables that were being declared. Signed-off-by: Bryce Harrington <bryce@canonical.com>
This commit is contained in:
parent
9f89a40ec1
commit
40269a6ed6
3 changed files with 5 additions and 13 deletions
|
|
@ -203,7 +203,6 @@ display_create_drm_surface(struct display *display,
|
|||
EGLDisplay dpy = display->dpy;
|
||||
cairo_surface_t *surface;
|
||||
struct wl_visual *visual;
|
||||
struct wl_buffer *buffer;
|
||||
EGLint name, stride;
|
||||
|
||||
EGLint image_attribs[] = {
|
||||
|
|
@ -343,7 +342,7 @@ display_create_shm_surface(struct display *display,
|
|||
struct shm_surface_data *data;
|
||||
cairo_surface_t *surface;
|
||||
struct wl_visual *visual;
|
||||
int stride, alloc, fd;
|
||||
int stride, fd;
|
||||
char filename[] = "/tmp/wayland-shm-XXXXXX";
|
||||
|
||||
data = malloc(sizeof *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue