CSave and CRestore operate on SAVERESTOREDATA objects. These objects are not allowed to be null, but the save and restore code has redundant checks for them anyway. Rework them to use references and eliminate the possibility of creating instances of these classes with null data pointers.
CSave
andCRestore
operate onSAVERESTOREDATA
objects. These objects are not allowed to be null, but the save and restore code has redundant checks for them anyway. Rework them to use references and eliminate the possibility of creating instances of these classes with null data pointers.