summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans@localhost.localdomain <hans@localhost.localdomain>2008-08-03 18:47:06 +0200
committerhans@localhost.localdomain <hans@localhost.localdomain>2008-08-03 18:47:06 +0200
commita1c8635315d9fcc9768035549e3ff5ea61f1faf2 (patch)
treea6eb6cba3b9d7b971301d22029dc7d1a9fe6c96d
parentdf421cfab31f2e14c35ff11186ed75c32d01f575 (diff)
downloadmediapointer-dvb-s2-a1c8635315d9fcc9768035549e3ff5ea61f1faf2.tar.gz
mediapointer-dvb-s2-a1c8635315d9fcc9768035549e3ff5ea61f1faf2.tar.bz2
libv4l: remove 2 unused variable declarations
From: Hans de Goede <j.w.r.degoede@hhs.nl> libv4l: remove 2 unused variable declarations Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
-rw-r--r--v4l2-apps/lib/libv4l/libv4l2/libv4l2.c2
1 files changed, 0 insertions, 2 deletions
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? */