Small cleanup in pipe.cpp
Merge pull request #588 from hurtonm/master

Small code cleanup