You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an implementation of the file format enables applications to create
storage objects without explicitly setting an object class GUID, it MUST write all zeroes by default.
If this value is not all zeroes, the object class GUID can be used as a parameter to start
applications.
even more redundant than it already was, you're setting member variables to zero that you're already initialized to zero at their declaration.
Also, this:
See the below quote from the specification:
To fix this, change:
openmcdf/sources/OpenMcdf/DirectoryEntry.cs
Line 190 in 04b53dc
To:
This change makes the switch block:
openmcdf/sources/OpenMcdf/DirectoryEntry.cs
Line 54 in 04b53dc
even more redundant than it already was, you're setting member variables to zero that you're already initialized to zero at their declaration.
Also, this:
openmcdf/sources/OpenMcdf/DirectoryEntry.cs
Line 58 in 04b53dc
is one of the most inefficient ways to set a GUID to Guid.Empty.
Replacing that switch block with this if statement:
will have the same effect as that switch block.
The text was updated successfully, but these errors were encountered: