public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/fb: Remove unused variables
@ 2018-12-20 12:15 Petri Latvala
  2018-12-20 12:22 ` Lisovskiy, Stanislav
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Petri Latvala @ 2018-12-20 12:15 UTC (permalink / raw)
  To: igt-dev; +Cc: Stanislav Lisovskiy, Petri Latvala

../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@intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-21 11:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-20 12:15 [igt-dev] [PATCH i-g-t] lib/fb: Remove unused variables Petri Latvala
2018-12-20 12:22 ` Lisovskiy, Stanislav
2018-12-20 12:59 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-12-21 11:45 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox