Re: CVS: beepcore-c/utility bp_clist.c,1.3,1.4

"William J. Mills" <[email protected]> Thu, 1 Aug 2002 19:08:10 -0500
Newsgroups gmane.network.beep.beepcore.c.cvs
Message-ID <[email protected]>
Man I hate that extra set of parens...  I also hate compiler warrnings though.

Thanks for the cleanup!

-bill

On Thu, Aug 01, 2002 at 05:01:42PM -0700, Chris Hanson wrote:
> Update of /cvsroot/beepcore-c/beepcore-c/utility
> In directory usw-pr-cvs1:/tmp/cvs-serv11119/utility
> 
> Modified Files:
> 	bp_clist.c 
> Log Message:
> Eliminate compiler warning from gcc.
> 
> 
> Index: bp_clist.c
> ===================================================================
> RCS file: /cvsroot/beepcore-c/beepcore-c/utility/bp_clist.c,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -C2 -d -r1.3 -r1.4
> *** bp_clist.c	29 Mar 2002 03:11:42 -0000	1.3
> --- bp_clist.c	2 Aug 2002 00:01:40 -0000	1.4
> ***************
> *** 46,50 ****
>       struct bp_clist* new;
>   
> !     if (new = lib_malloc(sizeof(struct bp_clist))) {
>   	memset(new, 0, sizeof(struct bp_clist));
>       }
> --- 46,50 ----
>       struct bp_clist* new;
>   
> !     if ((new = lib_malloc(sizeof(struct bp_clist)))) {
>   	memset(new, 0, sizeof(struct bp_clist));
>       }
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Beepcore-c-commits mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/beepcore-c-commits


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf