avision: fix for warning related to pthread unused variable and shadowed variable name.
This fix was highlighted by the Alpine pipeline build and noted here: !808 (comment 1636027309)
This fix was highlighted by the Alpine pipeline build and noted here: !808 (comment 1636027309)