[PATCH xts] xts5: Fix clang warning - non-void function 'outfile' should return a value
Rhys Kidd
rhyskidd at gmail.com
Sun Nov 20 05:20:38 UTC 2016
On Sun, Nov 13, 2016 at 1:50 PM Rhys Kidd <rhyskidd at gmail.com> wrote:
> files.c:267:3: error: non-void function 'outfile' should return a value
> [-Wreturn-type]
> return;
> ^
>
> Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
> ---
> xts5/src/bin/mc/files.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xts5/src/bin/mc/files.c b/xts5/src/bin/mc/files.c
> index ee88a40..a9198e1 100644
> --- a/xts5/src/bin/mc/files.c
> +++ b/xts5/src/bin/mc/files.c
> @@ -236,7 +236,7 @@ char *tmpfile;
> * Combine all the files in the right order onto
> * stdout.
> */
> -outfile(fp)
> +void outfile(fp)
> FILE *fp;
> {
> static FILE *fout;
> --
> 2.9.3
>
>
Gentle ping.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20161120/a9e7042e/attachment.html>
More information about the xorg-devel
mailing list