Remove unused ptr variable.

Coverity CID 30404.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>