changeset 25448:3c9a46550d16

Move more variables into the block where they are used
author reimar
date Thu, 20 Dec 2007 12:57:36 +0000
parents 139197373d1b
children 136ee4a91f00
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Thu Dec 20 12:51:24 2007 +0000
+++ b/libvo/x11_common.c	Thu Dec 20 12:57:36 2007 +0000
@@ -1767,9 +1767,6 @@
 
 void saver_off(Display * mDisplay)
 {
-
-    int interval, prefer_blank, allow_exp;
-
 #ifdef HAVE_XDPMS
     int nothing;
 
@@ -1792,6 +1789,7 @@
 #endif
     if (!timeout_save)
     {
+        int interval, prefer_blank, allow_exp;
         XGetScreenSaver(mDisplay, &timeout_save, &interval, &prefer_blank,
                         &allow_exp);
         if (timeout_save)