comparison gui/skin/skin.c @ 33063:39521b9a9ca5

Remove pointless assignment. If skin pointer isn't set to &appMPlayer, there is no need to change its value.
author ib
date Wed, 30 Mar 2011 10:14:41 +0000
parents be0848508395
children 33d307c4430c
comparison
equal deleted inserted replaced
33062:be0848508395 33063:39521b9a9ca5
116 } 116 }
117 117
118 // section=movieplayer 118 // section=movieplayer
119 static int cmd_section(char *in) 119 static int cmd_section(char *in)
120 { 120 {
121 skin = NULL;
122
123 if (!strcmp(strlower(in), "movieplayer")) 121 if (!strcmp(strlower(in), "movieplayer"))
124 skin = &appMPlayer; 122 skin = &appMPlayer;
125 123
126 mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] section: %s\n", in); 124 mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] section: %s\n", in);
127 125