Skip to content

Delete two unnecessary variable assignments in nntp_get_existing_article_numbers()

The tool “clang-tidy 11” informed about the following implementation details according to the source code check “clang-analyzer-deadcode.DeadStores”.

  • 462:10: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret'.
  • 481:2: Value stored to 'ret' is never read.

Thus remove these variable assignments from the affected function.

Merge request reports