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:
Bryce Harrington 2010-11-19 12:15:36 -08:00 committed by Kristian Høgsberg
parent 9f89a40ec1
commit 40269a6ed6
3 changed files with 5 additions and 13 deletions

View file

@ -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);