mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
27 lines
765 B
Solidity
27 lines
765 B
Solidity
contract C {
|
|
function g() public pure returns (
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint,
|
|
uint
|
|
) { }
|
|
function f() public pure returns (uint, uint, bytes32) {
|
|
uint a;
|
|
uint b;
|
|
(,,,,a,,,,b,,,,) = g();
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 6321: (194-198): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.
|
|
// Warning 6321: (200-204): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.
|
|
// Warning 6321: (206-213): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.
|