diff options
author | runge <runge> | 2007-01-31 16:56:33 +0000 |
---|---|---|
committer | runge <runge> | 2007-01-31 16:56:33 +0000 |
commit | 819fe41bdc7758c0489af4f70afccac07b3ffd26 (patch) | |
tree | d778879bcfdb01b35257868776264f64a145cede /x11vnc/xdamage.c | |
parent | c1b4a3b9960b775e3e1688c1cf10e412ea669706 (diff) | |
download | libvncserver-819fe41bdc7758c0489af4f70afccac07b3ffd26.zip libvncserver-819fe41bdc7758c0489af4f70afccac07b3ffd26.tar.gz |
fix warnings.
Diffstat (limited to 'x11vnc/xdamage.c')
-rw-r--r-- | x11vnc/xdamage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/xdamage.c b/x11vnc/xdamage.c index fb5e2b7..109492d 100644 --- a/x11vnc/xdamage.c +++ b/x11vnc/xdamage.c @@ -558,9 +558,11 @@ int xdamage_hint_skip(int y) { int fast_tmpl = 1; sraRegionPtr reg, tmpl; int ret, i, n, nreg; +#ifndef NO_NCACHE static int ncache_no_skip = 0; static double last_ncache_no_skip = 0.0; static double last_ncache_no_skip_long = 0.0, ncache_fac = 0.25; +#endif if (! xdamage_present || ! use_xdamage) { return 0; /* cannot skip */ |