fix unused variables in third-party
Merge pull request #791 from ptarjan/unused_var

fix unused variables in third-party