gcc 4.8.3, gcc 5.4.0 and maybe other.
The warning is a "false positive" in the sense that the compiler is not
able to follow the logic when run_pmc_port_properties() sets state and
timestamping.
But the actual variables are never uses uninitialized.
Regards
Petr
On 22/05/17 07:11, Richard
On Sun, May 21, 2017 at 10:32:10PM +0200, Petr Kulhavy wrote:
> Fix "may be used uninitialized in this function" warnings for state and
> timestamping.
Please tell us more:
What gcc version produces this warning?
Is the warning a false positive or not?
> @@ -1037,7 +1037,7 @@ static int