Re: [Spice-devel] [vdagent-win PATCH] Use single variable for path computations

2017-07-21 Thread Christophe Fergeau
On Fri, Jul 21, 2017 at 09:51:48AM +0100, Frediano Ziglio wrote: > This saves some stack memory not reducing any readability. I think I've read in the past about studies which found that code reusing a variable for different purposes had more bugs than code not doing that ;) Acked-by: Christophe

[Spice-devel] [vdagent-win PATCH] Use single variable for path computations

2017-07-21 Thread Frediano Ziglio
This saves some stack memory not reducing any readability. Signed-off-by: Frediano Ziglio --- vdservice/vdservice.cpp | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/vdservice/vdservice.cpp b/vdservice/vdservice.cpp index 7f3a5a3..329f9c2 100644 --- a/vdservice/vd