Skip to content

Commit d92e53f

Browse files
committed
ACLSyntaxSugar: fix returning unallocated memory (#495)
1 parent a59fec6 commit d92e53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/acl/ACLSyntaxSugar.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pragma solidity ^0.4.24;
77

88
contract ACLSyntaxSugar {
99
function arr() internal pure returns (uint256[]) {
10-
// solium-disable-previous-line no-empty-blocks
10+
return new uint256[](0);
1111
}
1212

1313
function arr(bytes32 _a) internal pure returns (uint256[] r) {

0 commit comments

Comments
 (0)