mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 14:29:25 +08:00
Move more variables into the block where they are used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25476 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+1
-3
@@ -1767,9 +1767,6 @@ void saver_on(Display * mDisplay)
|
||||
|
||||
void saver_off(Display * mDisplay)
|
||||
{
|
||||
|
||||
int interval, prefer_blank, allow_exp;
|
||||
|
||||
#ifdef HAVE_XDPMS
|
||||
int nothing;
|
||||
|
||||
@@ -1792,6 +1789,7 @@ void saver_off(Display * mDisplay)
|
||||
#endif
|
||||
if (!timeout_save)
|
||||
{
|
||||
int interval, prefer_blank, allow_exp;
|
||||
XGetScreenSaver(mDisplay, &timeout_save, &interval, &prefer_blank,
|
||||
&allow_exp);
|
||||
if (timeout_save)
|
||||
|
||||
Reference in New Issue
Block a user