Mismatched read and write of array

Last modified: 03 December 2024

Reports arrays whose contents are read but not updated, or updated but not read. Such inconsistent reads and writes are pointless and probably indicate dead, incomplete or erroneous code.

Example: