These are pretty basic fixes, but should get rid of annoying build warnings for kdebase.
I  opened bug 240173 and attached the patch, but apparently that is not the best way to get things reviwed and checked in.
This is mostly:
1) Initializing variables in all code paths
2) Checking return values of write() read() pipe()
3) Adding Q_UNUSED(param) for unused parameters

Thanks for reviewing and any tips.



--0016e6d9a25be6f7f60488452585--