diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-05-25 04:00:18 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2011-05-26 08:20:01 -0700 |
commit | 0ac2960a534d6be9b8de6ae4ae2b59b572258cd5 (patch) | |
tree | be0b4019185be1df25bc15e71a2598bebae430eb | |
parent | 15476187f17d6556f71bac03c42e8de3e9681cdd (diff) |
xts5: Return a dummy value.
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 <kibi@debian.org>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r-- | 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 22c747c9..ef466299 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); } /* |