Why is this an issue?

Useless casts should be removed.

How to fix it

Code examples

Noncompliant code example

module fly;
  int i, j;
  assign i = int'(j); // Noncompliant: Useless cast from 'int' to the same type
endmodule

Compliant solution

module fly;
  int i, j;
  assign i = j;
endmodule