summaryrefslogtreecommitdiffstats
path: root/unix/xserver
diff options
context:
space:
mode:
authorTim Waugh <twaugh@redhat.com>2015-02-25 11:27:19 +0000
committerTim Waugh <twaugh@redhat.com>2015-02-25 11:27:19 +0000
commite652878d4abacaf4982078b3503384cbd525d35e (patch)
tree7dc70b70d9476b22bd6f6211933b811248874e01 /unix/xserver
parentb904483a51fa5705ae2405c8b1c4f5ba2e191993 (diff)
downloadtigervnc-e652878d4abacaf4982078b3503384cbd525d35e.tar.gz
tigervnc-e652878d4abacaf4982078b3503384cbd525d35e.zip
Don't return without value here.
In particular, return 0 as this is a failure.
Diffstat (limited to 'unix/xserver')
-rw-r--r--unix/xserver/hw/vnc/xvnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c
index c668bde2..627e797c 100644
--- a/unix/xserver/hw/vnc/xvnc.c
+++ b/unix/xserver/hw/vnc/xvnc.c
@@ -408,7 +408,7 @@ ddxProcessArgument(int argc, char *argv[], int i)
{
ErrorF("Invalid pixmap depth %d\n", depth);
UseMsg();
- return;
+ return 0;
}
vfbPixmapDepths[depth] = TRUE;
ret++;