diff gui/wm/ws.c @ 33548:55b8f5d5df15

Remove unused parameter 'Size' in wsConvert().
author ib
date Fri, 17 Jun 2011 17:51:50 +0000
parents 38aee97cc4fc
children 4f6e515e5bd1
line wrap: on
line diff
--- a/gui/wm/ws.c	Fri Jun 17 13:22:41 2011 +0000
+++ b/gui/wm/ws.c	Fri Jun 17 17:51:50 2011 +0000
@@ -979,7 +979,7 @@
 // ----------------------------------------------------------------------------------------------
 //    Put 'Image' to window.
 // ----------------------------------------------------------------------------------------------
-void wsConvert(wsTWindow *win, unsigned char *Image, unsigned int Size)
+void wsConvert(wsTWindow *win, unsigned char *Image)
 {
     const uint8_t *src[4] = { Image, NULL, NULL, NULL };
     int src_stride[4]     = { 4 * win->xImage->width, 0, 0, 0 };
@@ -987,8 +987,6 @@
     int dst_stride[4];
     int i;
 
-    (void)Size;
-
     sws_ctx = sws_getCachedContext(sws_ctx, win->xImage->width, win->xImage->height, PIX_FMT_RGB32,
                                    win->xImage->width, win->xImage->height, out_pix_fmt,
                                    SWS_POINT, NULL, NULL, NULL);