Unreferenced variable

ID: unreferenced-variable

An unreferenced variable, also known as an unused variable, is a variable that has been declared in the code but is never used in any operations or expressions throughout the program. Essentially, it is a variable that does not contribute to the program's functionality because it is not accessed or manipulated after its declaration.

New to topics? Read the docs here!