openrave
openrave copied to clipboard
Init variables, check for valid file pointers before using, provide valid return values
This MR fixes minor issues in the using uninitialized variables, returning nollptr instead of std::string, using file pointers without checking them for validity and similar things. This is not a complete list of issues, but the most dangerously looking ones.
Can you have Puttichai look at the changes related to planning? Thanks
There's a conditional passing of NULL pointer with null pointer dereference, do you have any idea why do we need to convert vectors to raw pointers instead of just iterating over the vectors with the approximately same result?
Looks good to me now.
Thank you!
thanks~