Removed default value assignments. (#1432)

(cherry picked from commit cfef58361f)
This commit is contained in:
Nicolás Venturo
2018-10-17 17:00:12 -03:00
committed by Leo Arias
parent 26f9cc8e74
commit 88f48be287
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ contract ERC20TokenMetadata is IERC20 {
}
contract ERC20WithMetadata is ERC20TokenMetadata {
string private _tokenURI = "";
string private _tokenURI;
constructor(string tokenURI)
public

View File

@ -24,8 +24,6 @@ contract SplitPayment {
require(payees.length == shares.length);
require(payees.length > 0);
_totalShares = 0;
_totalReleased = 0;
for (uint256 i = 0; i < payees.length; i++) {
_addPayee(payees[i], shares[i]);
}

View File

@ -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;
}