[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] Avoid a compiler warning in WriteDefines
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 2/5] Avoid a compiler warning in WriteDefines |
Date: |
Mon, 2 Dec 2013 13:04:11 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Mon 02 Dec 2013 10:58:16 +0100, a écrit :
> * header.c (WriteDefines): Avoid warning about unused parameter.
Ack.
> ---
> header.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/header.c b/header.c
> index 150412a..1bc570f 100644
> --- a/header.c
> +++ b/header.c
> @@ -41,6 +41,7 @@ WriteIncludes(FILE *file)
> static void
> WriteDefines(FILE *file)
> {
> + (void) file; /* Avoid the warning. */
> }
>
> static void
> --
> 1.7.10.4
>
>
--
Samuel
j'etais en train de nettoyer ma souris et le coup est parti...
-+- s sur #ens-mim - et en plus c vrai... -+-
- [PATCH 1/5] Advise flex not to generate the input function, Justus Winter, 2013/12/02
- [PATCH 2/5] Avoid a compiler warning in WriteDefines, Justus Winter, 2013/12/02
- Re: [PATCH 2/5] Avoid a compiler warning in WriteDefines,
Samuel Thibault <=
- [PATCH 3/5] Clean up generated sources, Justus Winter, 2013/12/02
- [PATCH 4/5] Move the generation of x_server_routine function into a function, Justus Winter, 2013/12/02
- [PATCH 5/5] Generate a x_server_routine in the sheader so it can be inlined, Justus Winter, 2013/12/02
- Re: [PATCH 1/5] Advise flex not to generate the input function, Samuel Thibault, 2013/12/02