summaryrefslogtreecommitdiffstats
path: root/x11vnc/pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/pm.c')
-rw-r--r--x11vnc/pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/pm.c b/x11vnc/pm.c
index b730c1f..e21cd0c 100644
--- a/x11vnc/pm.c
+++ b/x11vnc/pm.c
@@ -133,7 +133,7 @@ void set_dpms_mode(char *mode) {
return;
}
if (DPMSInfo(dpy, &level, &enabled)) {
- char *from;
+ char *from = "unk";
if (enabled && level != want) {
XErrorHandler old_handler = XSetErrorHandler(trap_xerror);
trapped_xerror = 0;