[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] cleaning event handler
From: |
shawn |
Subject: |
Re: [RP] cleaning event handler |
Date: |
Thu, 19 Apr 2001 21:44:38 -0700 |
>
>It's a small patch; anything wrong with it? Seems to work over here.
>
Looks good to me and it shrinks the binary by a couple bytes :).
>Index: main.c
>===================================================================
>RCS file: /cvsroot/ratpoison/ratpoison/src/main.c,v
>retrieving revision 1.36
>diff -U2 -r1.36 main.c
>- --- main.c 2001/04/15 19:56:15 1.36
>+++ main.c 2001/04/17 19:56:57
>@@ -105,5 +105,5 @@
> xmalloc (size_t size)
> {
>- - register void *value = malloc (size);
>+ void *value = malloc (size);
> if (value == 0)
> fatal ("Virtual memory exhausted");
What is the reasoning for this section of the patch?