Fix compilation warnings/errors in smux, tip, virus

Fix compilation warnings/errors primarily due to unused variables.
Merge pull request #3 from alexfru/master

Fix compilation warnings/errors in smux, tip, virus