Value stored to 'pid' was never read. Found by scan-build http://buildd-clang.debian.net/scan-build/