From e652878d4abacaf4982078b3503384cbd525d35e Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 25 Feb 2015 11:27:19 +0000 Subject: [PATCH] Don't return without value here. In particular, return 0 as this is a failure. --- unix/xserver/hw/vnc/xvnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.39.5