The quick-fix removes unreachable code.
Example:
fun value(): Int { return 42 print("Hello, world !") }
After the quick-fix is applied:
fun value(): Int { return 42 }