run addMissingFunctions only once

This commit is contained in:
Mathias Baumann
2020-05-07 17:06:11 +02:00
parent 3212cb6caa
commit eb4926cb48
6 changed files with 41 additions and 2 deletions
@@ -0,0 +1,28 @@
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract Ownable {
address private _owner;
modifier onlyOwner() {
require(msg.sender == _owner, "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public onlyOwner { }
}
library VoteTiming {
function init(uint phaseLength) internal pure {
require(true, "");
}
}
contract Voting is Ownable {
constructor() public {
VoteTiming.init(1);
}
}
// ----
// Warning: (324-340): Unused function parameter. Remove or comment out the variable name to silence this warning.