Windows compiler complains about uninitialized variables in these functions. Set the pointers to NULL to quiet the compiler.