changeset 25447:139197373d1b

Move a variable to where it is used
author reimar
date Thu, 20 Dec 2007 12:51:24 +0000
parents 8dfc8a3b4152
children 3c9a46550d16
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Thu Dec 20 12:00:44 2007 +0000
+++ b/libvo/x11_common.c	Thu Dec 20 12:51:24 2007 +0000
@@ -1710,10 +1710,9 @@
 {
 
 #ifdef HAVE_XDPMS
-    int nothing;
-
     if (dpms_disabled)
     {
+        int nothing;
         if (DPMSQueryExtension(mDisplay, &nothing, &nothing))
         {
             if (!DPMSEnable(mDisplay))