diff options
author | Richard Yao <[email protected]> | 2014-04-23 00:04:41 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-05-30 17:02:37 -0700 |
commit | 2024041b6c5134a925a33c10eff24a47ecb541a6 (patch) | |
tree | cab29b947802495f0a37b0dc965a9b6da65b4449 /rpm/generic | |
parent | 4def05f8a68f7255dfb88606a9b475314c828a06 (diff) |
Remove superfluous statement
Clang's static analyzer reported that the value assigned to pcksum is
never used. That is because we initialize both zc and pcksum to {{ 0 }}
and then do `pcksum = zc;`. That is fairly pointless. However, it has
the effect of generating a false positive in Clang's static analyzer.
Since noise from false positives can obscure real issues, we fix it
anyway.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Ned Bass <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #2330
Diffstat (limited to 'rpm/generic')
0 files changed, 0 insertions, 0 deletions