changeset 37051:1468239c0fe3

Remove pointless initialization. The variables will be set unconditionally anyway.
author ib
date Thu, 10 Apr 2014 10:20:27 +0000
parents 3555aa94b881
children 2ef6693131f7
files gui/skin/skin.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/skin.c	Wed Apr 09 13:30:50 2014 +0000
+++ b/gui/skin/skin.c	Thu Apr 10 10:20:27 2014 +0000
@@ -306,8 +306,7 @@
 {
     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))