[MPlayer-cvslog] r37147 - trunk/gui/skin/skin.c

ib subversion at mplayerhq.hu
Thu Apr 10 12:20:28 CEST 2014


Author: ib
Date: Thu Apr 10 12:20:27 2014
New Revision: 37147

Log:
Remove pointless initialization.

The variables will be set unconditionally anyway.

Modified:
   trunk/gui/skin/skin.c

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Wed Apr  9 15:30:50 2014	(r37146)
+++ trunk/gui/skin/skin.c	Thu Apr 10 12:20:27 2014	(r37147)
@@ -306,8 +306,7 @@ static int item_base(char *in)
 {
     unsigned char fname[256];
     unsigned char file[512];
-    int x, y;
-    int w = 0, h = 0;
+    int x, y, w, h;
     int is_video, is_bar, is_menu;
 
     if (!window_item(currItem))


More information about the MPlayer-cvslog mailing list