Re: [AD] -Wno-unused

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, 2005-04-23 at 20:37 +1000, Peter Wang wrote:
> Elias Pschernig wrote:
> 
> >Index: src/unix/jack.c
> >===================================================================
> >RCS file: /cvsroot/alleg/allegro/src/unix/jack.c,v
> >retrieving revision 1.5
> >diff -u -p -r1.5 jack.c
> >--- src/unix/jack.c	12 Mar 2005 06:29:06 -0000	1.5
> >+++ src/unix/jack.c	22 Apr 2005 15:54:53 -0000
> >@@ -206,7 +206,7 @@ static int jack_detect(int input)
> > static int jack_init(int input, int voices)
> > {
> >    const char **ports;
> >-   char tmp1[128], tmp2[128];
> >+   char tmp2[128];
> > 
> >    if (!jack_detect(input))
> >       return -1;
> >  
> >
> 
> It would be cleaner to rename tmp2 to tmp1.
> 

I renamed it to tmp, and committed.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/