[igt-dev] [PATCH i-g-t] lib/fb: Remove unused variables
Petri Latvala
petri.latvala at intel.com
Thu Dec 20 12:15:17 UTC 2018
../lib/igt_fb.c: In function ‘convert_rgb24_to_yuv444’:
../lib/igt_fb.c:1720:16: warning: unused variable ‘v’ [-Wunused-variable]
float y, u, v;
^
../lib/igt_fb.c:1720:13: warning: unused variable ‘u’ [-Wunused-variable]
float y, u, v;
^
../lib/igt_fb.c:1720:10: warning: unused variable ‘y’ [-Wunused-variable]
float y, u, v;
^
Signed-off-by: Petri Latvala <petri.latvala at intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
---
lib/igt_fb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 57264844..2f555c95 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -1717,7 +1717,6 @@ static void convert_rgb24_to_yuv444(struct fb_convert *cvt)
for (j = 0; j < cvt->dst.fb->width; j++) {
struct igt_vec4 rgb;
struct igt_vec4 yuv;
- float y, u, v;
read_rgb(&rgb, &rgb24[i * rgb24_stride + j * 4]);
--
2.19.1
More information about the igt-dev
mailing list