Reports assignments where a value is assigned but never used later in the code.

Example:


  fun foo(): Int = 42

  fun example() {
      var local = 0
      print(local)
      local = 42  // Assigned value is never read
  }

  fun foo(): Int = 42

  fun example() {
      var local = 0
      print(local)
  }

  fun foo(): Int = 42

  fun example() {
      var local = 0
      print(local)
      foo()  // The function call is kept for its side effects
  }