Since it's too late already when this function is called, let's return
something to match the prototype.

This warning goes away accordingly:
|   CC     err.lo
| err.c:180:1: warning: control reaches end of non-void function [-Wreturn-type]
| }
| ^

Signed-off-by: Cyril Brulebois <k...@debian.org>
---
 xts5/src/lib/err.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xts5/src/lib/err.c b/xts5/src/lib/err.c
index 22c747c..ef46629 100644
--- a/xts5/src/lib/err.c
+++ b/xts5/src/lib/err.c
@@ -177,6 +177,7 @@ char        text[TEXTLEN];
 
        /* Cause to test to not pass */
        delete("Unexpected Xlib error");
+       return(0);
 }
 
 /*
-- 
1.7.5.1

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to