commit | e652878d4abacaf4982078b3503384cbd525d35e | [log] [tgz] |
---|---|---|
author | Tim Waugh <twaugh@redhat.com> | Wed Feb 25 11:27:19 2015 +0000 |
committer | Tim Waugh <twaugh@redhat.com> | Wed Feb 25 11:27:19 2015 +0000 |
tree | 7dc70b70d9476b22bd6f6211933b811248874e01 | |
parent | b904483a51fa5705ae2405c8b1c4f5ba2e191993 [diff] |
Don't return without value here. In particular, return 0 as this is a failure.
diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c index c668bde..627e797 100644 --- a/unix/xserver/hw/vnc/xvnc.c +++ b/unix/xserver/hw/vnc/xvnc.c
@@ -408,7 +408,7 @@ { ErrorF("Invalid pixmap depth %d\n", depth); UseMsg(); - return; + return 0; } vfbPixmapDepths[depth] = TRUE; ret++;