From a1c8635315d9fcc9768035549e3ff5ea61f1faf2 Mon Sep 17 00:00:00 2001 From: "hans@localhost.localdomain" Date: Sun, 3 Aug 2008 18:47:06 +0200 Subject: libv4l: remove 2 unused variable declarations From: Hans de Goede libv4l: remove 2 unused variable declarations Signed-off-by: Hans de Goede --- v4l2-apps/lib/libv4l/libv4l2/libv4l2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'v4l2-apps/lib/libv4l/libv4l2') diff --git a/v4l2-apps/lib/libv4l/libv4l2/libv4l2.c b/v4l2-apps/lib/libv4l/libv4l2/libv4l2.c index d6a8a6d2a..fc41c665d 100644 --- a/v4l2-apps/lib/libv4l/libv4l2/libv4l2.c +++ b/v4l2-apps/lib/libv4l/libv4l2/libv4l2.c @@ -113,7 +113,6 @@ static int v4l2_request_read_buffers(int index) static void v4l2_unrequest_read_buffers(int index) { - int result; struct v4l2_requestbuffers req; if (!(devices[index].flags & V4L2_BUFFERS_REQUESTED_BY_READ) || @@ -743,7 +742,6 @@ int v4l2_ioctl (int fd, unsigned long int request, ...) case VIDIOC_REQBUFS: { - int i; struct v4l2_requestbuffers *req = arg; /* IMPROVEME (maybe?) add support for userptr's? */ -- cgit v1.2.3