summaryrefslogtreecommitdiffstats
path: root/x11vnc/xdamage.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/xdamage.c')
-rw-r--r--x11vnc/xdamage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/xdamage.c b/x11vnc/xdamage.c
index 946aff2..be6b79b 100644
--- a/x11vnc/xdamage.c
+++ b/x11vnc/xdamage.c
@@ -771,6 +771,8 @@ void create_xdamage_if_needed(int force) {
RAWFB_RET_VOID
+ if (force) {}
+
#if LIBVNCSERVER_HAVE_LIBXDAMAGE
if (! xdamage || force) {
X_LOCK;