Fix compilation warnings/errors in smux, tip, virus

Fix compilation warnings/errors primarily due to unused variables.