diff options
author | Tim Waugh <twaugh@redhat.com> | 2015-02-25 11:27:19 +0000 |
---|---|---|
committer | Tim Waugh <twaugh@redhat.com> | 2015-02-25 11:27:19 +0000 |
commit | e652878d4abacaf4982078b3503384cbd525d35e (patch) | |
tree | 7dc70b70d9476b22bd6f6211933b811248874e01 /unix/xserver | |
parent | b904483a51fa5705ae2405c8b1c4f5ba2e191993 (diff) | |
download | tigervnc-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.c | 2 |
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++; |