Closed dominikh closed 7 years ago
The following code compares c.isHeader with itself:
return c.isHeader == c.isHeader && bytes.Equal(c.Data, other.Data)
/src/github.com/Microsoft/azure-vhd-utils-for-go/vhdcore/vhdCookie.go:75:9: identical expressions on the left and right side of the '==' operator
Addressed in the commit https://github.com/Microsoft/azure-vhd-utils/commit/43293b8d76460dd25093d216c95abc79342e1657
The following code compares c.isHeader with itself: