Remove unused buf variable from path/core test.
Merge pull request #2570 from cirosantilli/rm-unused-var

Remove unused buf variable from path/core test.