[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 54/66] kern/debug.c: remove unused variable
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 54/66] kern/debug.c: remove unused variable |
Date: |
Mon, 9 Dec 2013 00:17:35 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Marin Ramesa, le Thu 05 Dec 2013 22:03:48 +0100, a écrit :
> * kern/debug.c (__stack_chk_guard): Remove unused variable.
Actually it is used by the gcc compiler.
> ---
> kern/debug.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/kern/debug.c b/kern/debug.c
> index 8cd3f02..d3ae4fa 100644
> --- a/kern/debug.c
> +++ b/kern/debug.c
> @@ -205,13 +205,6 @@ log(int level, const char *fmt, ...)
> va_end(listp);
> }
>
> -unsigned char __stack_chk_guard [ sizeof (vm_offset_t) ] =
> -{
> - [ sizeof (vm_offset_t) - 3 ] = '\r',
> - [ sizeof (vm_offset_t) - 2 ] = '\n',
> - [ sizeof (vm_offset_t) - 1 ] = 0xff,
> -};
> -
> void
> __stack_chk_fail (void)
> {
> --
> 1.8.1.4
>
>
--
Samuel
Hi ! I'm a .signature virus ! Copy me into your ~/.signature, please !
- [PATCH 48/66] ipc/mach_port.c: use boolean instead of an int, (continued)
- [PATCH 48/66] ipc/mach_port.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 49/66] ipc/port.h: update comment, Marin Ramesa, 2013/12/05
- [PATCH 50/66] kern/act.c, act.h: comment unused variable, Marin Ramesa, 2013/12/05
- [PATCH 51/66] kern/act.h: remove prototype without definition, Marin Ramesa, 2013/12/05
- [PATCH 52/66] kern/debug.c: initialize the lock, Marin Ramesa, 2013/12/05
- [PATCH 53/66] kern/debug.c: initialize panicstr, Marin Ramesa, 2013/12/05
- [PATCH 54/66] kern/debug.c: remove unused variable, Marin Ramesa, 2013/12/05
- Re: [PATCH 54/66] kern/debug.c: remove unused variable,
Samuel Thibault <=
- [PATCH 55/66] kern/lock_mon.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 57/66] kern/lock_mon.c: remove dead assignments, Marin Ramesa, 2013/12/05
- [PATCH 56/66] kern/lock_mon.c: use spl_t instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 58/66] kern/pc_sample.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 59/66] kern/priority.c: update comment, Marin Ramesa, 2013/12/05
- [PATCH 60/66] kern/rbtree.h: remove unnecessary include, Marin Ramesa, 2013/12/05
- [PATCH 64/66] Cleanup of the prototypes, Marin Ramesa, 2013/12/05
- [PATCH 65/66] kern/act.h: remove unnecessary include, Marin Ramesa, 2013/12/05
- [PATCH 63/66] vm/vm_page.h: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 36/66] i386/i386at/kd.c: simplify code, Marin Ramesa, 2013/12/05