Re: [R] Unnecesary code?

2009-11-19 Thread Duncan Murdoch
On 19/11/2009 4:23 AM, Hun S. Tesatte wrote: On Thu, 19 Nov 2009 00:13:27 +0100 Duncan Murdoch wrote: hunsynte...@hush.com wrote: Dear R-ers, While browsing the R sources, I found the following piece of code in src\main\memory.c: static void reset_pp_stack(void *data) { R_size_t *po

Re: [R] Unnecesary code?

2009-11-19 Thread Hun S. Tesatte
On Thu, 19 Nov 2009 00:13:27 +0100 Duncan Murdoch wrote: >hunsynte...@hush.com wrote: >> Dear R-ers, >> >> While browsing the R sources, I found the following piece of >code >> in src\main\memory.c: >> >> static void reset_pp_stack(void *data) >> { >> R_size_t *poldpps = data; >> R_PP

Re: [R] Unnecesary code?

2009-11-18 Thread Duncan Murdoch
hunsynte...@hush.com wrote: Dear R-ers, While browsing the R sources, I found the following piece of code in src\main\memory.c: static void reset_pp_stack(void *data) { R_size_t *poldpps = data; R_PPStackSize = *poldpps; } To me, it looks like the poldpps pointer is a nuissance; can