Csound Csound-dev Csound-tekno Search About

[Cs-dev] Odd code in csound_orc_compile.c

Date2014-08-06 19:08
Fromjohn ffitch
Subject[Cs-dev] Odd code in csound_orc_compile.c
Line 268 declares
    char      tfound = '\0', .....
and it is given an alternative value on line 303
      tfound = argtyp2(s);     /* else get arg type */

but the value is never used.  Should it just be deleted?

Same happens on lines 314 and 318

==John ffitch

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-08-12 15:36
FromSteven Yi
SubjectRe: [Cs-dev] Odd code in csound_orc_compile.c
I think what happened was that code was setting the xincod and
xoutcod.  I had worked sort of quickly and just removed the setting of
those, but did not review the rest to see if they could be taken out.
Let me double check now and remove things. I'll commit changes
shortly.

Thanks for catching that!
steven

On Wed, Aug 6, 2014 at 2:08 PM, john ffitch  wrote:
> Line 268 declares
>     char      tfound = '\0', .....
> and it is given an alternative value on line 303
>       tfound = argtyp2(s);     /* else get arg type */
>
> but the value is never used.  Should it just be deleted?
>
> Same happens on lines 314 and 318
>
> ==John ffitch
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net