OpenNI/OpenNI — Issue #48: Completion of error handling
Author: elfring
Created: 2011-11-25 16:26:54+00:00
State: open

I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing.

Would you like to add more error handling for return values from functions like the following?
- [printf](http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html "print formatted output") ⇒ [xnLogIsDumpMaskEnabled](https://github.com/OpenNI/OpenNI/blob/41646a501e4f6d6e4131c404c2ef12be7229508d/Source/OpenNI/XnDump.cpp#L75)
- [OpenFile](https://github.com/OpenNI/OpenNI/blob/07d8ce36a0b20f7fc4a7bd9cb161b1aa475b1c4d/Source/OpenNI/XnLogFileWriter.h#L42 "open a file") ⇒ [XnLogFileWriter::OnRegister](https://github.com/OpenNI/OpenNI/blob/07d8ce36a0b20f7fc4a7bd9cb161b1aa475b1c4d/Source/OpenNI/XnLogFileWriter.cpp#L112)