Unreferenced variable
Appearance
An unreferenced variable in a computer program is a variable that is declared but which is never used. This usually results in a harmless waste of memory and may provoke a warning from the language's compiler or runtime system.
Examples
C:
int main() {
int i, j;
for (i=0; i<10; i++) printf("%d", i);
return 0;
}
In this, {{{j}}} is an unreferenced variable.