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

Christophe Fergeau cfergeau at redhat.com
Fri Jul 21 09:55:15 UTC 2017


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 Fergeau <cfergeau at redhat.com>

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170721/1b240012/attachment-0001.sig>


More information about the Spice-devel mailing list