Added inline to recover_memory() and free_memory() to avoid warnings in gcc
Removed unused variable match_index
Merge pull request #798 from stan-dev/feature/issue-796-unused-function-warning-gcc

Feature/issue 796 unused function warning gcc