Re: [PATCH] iio: adc: ad_sigma_delta.c: Cleaning up uninitialized variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/01/2014 01:11 AM, Rickard Strandqvist wrote:
There is a risk that the variable will be used without being initialized.

This was largely found by using a static code analysis program called cppcheck.

This looks like a false positive. And if it was not a false positive the correct fix certainly is not to initialize the variable to some random value to silence the warning.

- Lars

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux