Ticket #7063: libs_libmythtv-use-void-ticket-7063

File libs_libmythtv-use-void-ticket-7063, 665 bytes (added by Erik Hovland <erik@…>, 11 years ago)

Same patch as before but against trunk as of 2010-02-03

Line 
1Use Q_UNUSED to suppress parse warnings on unused parameters.
2
3From: Erik Hovland <erik@hovland.org>
4
5
6---
7
8 mythtv/libs/libmythtv/yuv2rgb.cpp |    2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
10
11
12diff --git a/mythtv/libs/libmythtv/yuv2rgb.cpp b/mythtv/libs/libmythtv/yuv2rgb.cpp
13index 84847ad..3401039 100644
14--- a/mythtv/libs/libmythtv/yuv2rgb.cpp
15+++ b/mythtv/libs/libmythtv/yuv2rgb.cpp
16@@ -431,7 +431,7 @@ static void yuv420_argb32_non_mmx(unsigned char *image, unsigned char *py,
17 #endif
18 
19     // squelch a warning
20-    rgb_stride = y_stride = uv_stride;
21+    (void)rgb_stride; (void)y_stride; (void)uv_stride;
22     
23     d = image;
24     y1_ptr = py;