summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2020-02-03 15:04:26 +0100
committerSylwester Nawrocki <s.nawrocki@samsung.com>2020-02-03 15:05:15 +0100
commitebf25e38b85c648771ef181c79a25abc7acffb77 (patch)
tree44e8eea3bb5e2cbcac879d0f729d8ff17e903e02
parentd78f8057cc0461b13ebf6071215b5169ccfe6030 (diff)
v4l2-jpeg-codec-test: Remove unused local variabledevel
Remove a variable which is now unused as pointed out by the compiler warning: test-jpeg.c: In function ‘main’: test-jpeg.c:390:6: warning: unused variable ‘i’ [-Wunused-variable] int i, r, input_fd; ^ Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
-rw-r--r--v4l2-jpeg-codec-test/test-jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l2-jpeg-codec-test/test-jpeg.c b/v4l2-jpeg-codec-test/test-jpeg.c
index f29637cb..06113804 100644
--- a/v4l2-jpeg-codec-test/test-jpeg.c
+++ b/v4l2-jpeg-codec-test/test-jpeg.c
@@ -387,7 +387,7 @@ static int parse_args(int argc, char *argv[])
int main(int argc, char *argv[])
{
- int i, r, input_fd;
+ int r, input_fd;
int ret = 0;
struct v4l2_buffer buf = {0};
struct v4l2_requestbuffers reqbuf = {0};

Privacy Policy