summaryrefslogtreecommitdiffstats
path: root/x11vnc/pm.c
diff options
context:
space:
mode:
authorrunge <runge>2007-03-25 02:43:00 +0000
committerrunge <runge>2007-03-25 02:43:00 +0000
commit3f0f799d2050ec046c28a54b027b377cf573ef9e (patch)
tree2a492e6373397ae0a8d535150a7fc8a6923322ec /x11vnc/pm.c
parentca56c41c9c59048167e46073043d2fcd3db305de (diff)
downloadlibtdevnc-3f0f799d2050ec046c28a54b027b377cf573ef9e.tar.gz
libtdevnc-3f0f799d2050ec046c28a54b027b377cf573ef9e.zip
x11vnc: remove build errors, get -ncache working on macosx again.
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;