[PATCH] randr: Silence valgrind after server regen with panning enabled

2012-03-16 Thread Chris Wilson
If when bug hunting you trigger a server regeneration after enabling a pnning mode without moving the nice, you cause a flurry of valgrind warnings: ==28455== Conditional jump or move depends on uninitialised value(s) ==28455==at 0x4D9431: xf86RandR13Pan (xf86RandR12.c:360) ==28455==by

Re: [PATCH] randr: Silence valgrind after server regen with panning enabled

2012-03-16 Thread Chris Wilson
On Fri, 16 Mar 2012 08:45:38 -0700, Aaron Plattner aplatt...@nvidia.com wrote: On 03/16/2012 04:39 AM, Chris Wilson wrote: +randrp-pointerX = randrp-pointerY = 0; /* keep valgrind quiet */ I don't think the comment is necessary, since initializing all the fields is standard good

Re: [PATCH] randr: Silence valgrind after server regen with panning enabled

2012-03-16 Thread Jamey Sharp
On Fri, Mar 16, 2012 at 4:39 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: If when bug hunting you trigger a server regeneration after enabling a pnning mode without moving the nice, you cause a flurry of valgrind warnings: I really wanted to read that as pwning. I take it you meant panning