summaryrefslogtreecommitdiffstats
path: root/x11vnc/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/screen.c')
-rw-r--r--x11vnc/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/screen.c b/x11vnc/screen.c
index ac4bf7b..ae81ec4 100644
--- a/x11vnc/screen.c
+++ b/x11vnc/screen.c
@@ -1064,7 +1064,7 @@ XImage *initialize_xdisplay_fb(void) {
XImage *fb;
char *vis_str = visual_str;
int try = 0, subwin_tries = 3;
- XErrorHandler old_handler;
+ XErrorHandler old_handler = NULL;
int subwin_bs;
if (raw_fb_str) {