worker: use variable already set at beginning of loops

Enterprise / Virtualization / SPICE - Frediano Ziglio [redhat.com] - 26 January 2016 04:31 UTC

This is mainly question of style. Instead of repeating same conversion use the variable we set at the beginning of the function. Note also that I used same name to make the two functions more similar.

4084b2b worker: use variable already set at beginning of loops
server/red-worker.c | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)

Upstream: cgit.freedesktop.org


  • Share