changeset 36823:edfa61ced4ad

Remove pointless variables. Additionally, merge definition and initialization.
author ib
date Mon, 24 Feb 2014 10:38:57 +0000
parents 95e3f435bc57
children 836563c39dac
files gui/win32/preferences.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/preferences.c	Mon Feb 24 10:31:09 2014 +0000
+++ b/gui/win32/preferences.c	Mon Feb 24 10:38:57 2014 +0000
@@ -46,9 +46,8 @@
     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)
     {