Removed default value assignments. (#1432)
This commit is contained in:
@ -12,6 +12,8 @@ contract ReentrancyGuard {
|
||||
uint256 private _guardCounter;
|
||||
|
||||
constructor() public {
|
||||
// The counter starts at one to prevent changing it from zero to a non-zero
|
||||
// value, which is a more expensive operation.
|
||||
_guardCounter = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user