[MPlayer-cvslog] r36919 - trunk/gui/win32/preferences.c

ib subversion at mplayerhq.hu
Mon Feb 24 11:38:57 CET 2014


Author: ib
Date: Mon Feb 24 11:38:57 2014
New Revision: 36919

Log:
Remove pointless variables.

Additionally, merge definition and initialization.

Modified:
   trunk/gui/win32/preferences.c

Modified: trunk/gui/win32/preferences.c
==============================================================================
--- trunk/gui/win32/preferences.c	Mon Feb 24 11:31:09 2014	(r36918)
+++ trunk/gui/win32/preferences.c	Mon Feb 24 11:38:57 2014	(r36919)
@@ -46,9 +46,8 @@ static LRESULT CALLBACK PrefsWndProc(HWN
     static HWND vo_driver, ao_driver, prio;
     int i = 0, j = 0;
     char procprio[11];
-    float x = 10.0, y = 10.0, stereopos, delaypos;
-    stereopos = gtkAOExtraStereoMul * x;
-    delaypos = audio_delay * y;
+    float stereopos = gtkAOExtraStereoMul * 10.0;
+    float delaypos = audio_delay * 10.0;
 
     switch (iMsg)
     {


More information about the MPlayer-cvslog mailing list